Issue with First Appworks App
Hi,
I am assuming that even without deploying the client app to a mobile device, I should be able to see it working in a regular web browser. If not, just say so and read no further. When I built the sample code (well, I pretty much copied it from the bundle), I only get the requisit 'There was a problem loading profiles.' message. This may be deliberate because I noticed in the ajax call, that it seems to call the done function then call the fail function on the done function. Is that right? Sorry but it's been a couple of years since I have had to do any jQuery.
One other question: Does Appworks have any value outside of the mobile development world (i.e. intranet web development), or should I stick with Content Web Services within ASP.NET/Tomcat web app for interacting with Content Server from a web application that is primarily accessed from a desktop?
-Hugh Ferguson
Comments
-
Mobile apps don't, in general, work outside the container because they won't have access to the auth tokens they need. I don't recall offhand if the sample first app would be that way or not. Also, you may run into cross-domain issues if you deploy to a server other than the AppWorks Gateway server.
My understanding is that AppWorks is to become the single source of APIs for developing against OT back-ends. Besides that mission, the main added value is that all available apis will be surfaced at the same url, so client code can seamlessly integrate across various server-side apis.
0 -
hi Hugh,
the message appears when the user profiles couldn't be fetched from a corresponding service.
1. Did you filled in baseUrl param inapp.js
specifying where the sample service is running?:// Set up default option values Profiles.defaults = { baseUrl: 'http://your_host', sel: 'body' };
2. Is there a sample Profile Service running at
baseUrl
+/SampleService/v1/profiles
?0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 104 General Questions
- 123 Services
- 40 OpenText Hackathon
- 33 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 901 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 127 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax