Nick H
Nick H

Reputation: 8992

IBM MobileFirst Server - Hosting Static Content

Is there a way to host static content like help text on an IBM MobileFirst Server?

I have a Native Android application with a MobileFirst Server backend. I want an adapter to return text that I can update on my MobileFirst Server dynamically.

Is this possible? If so whats the best way to perform this?

Edit: The end goal here is to be able to modify text inside the application without requiring an app update. For example, (this may not be a good way of doing this) creating an adapter that when called, will access a document stored in the mobilefirst server and return it. This document stored on the server will need to be able to be modified whenever we want.

Upvotes: 0

Views: 39

Answers (1)

Idan Adar
Idan Adar

Reputation: 44516

The MobileFirst Server and its database are not meant for serving "content" such as what you're looking for.

You can use the same host machine, or a different machine, to host another database or some other service, a file server, and query it using a SQL/HTTP adapter (depending on what you'll select) in order to retrieve the static content, parse it and use jQuery APIs to inject it into the DOM, replacing whatever is currently there.

Upvotes: 1

Related Questions