Andlen Go
Posts: 0
Joined: Sat Oct 19, 2013 1:10 pm

Put the request parameter in the url of an xml file.

I have created an xml service binded on page load, I followed the tutorial on Building a clickable list app with HTML5 Local Storage.

But in My case I have created an xml file from my Drupal website.
I am able to test successfully the xml file, however I dont know what to put on in the request parameter to only display content that matches a specific id from my xml file.

When I click on the list component, it saves the id in the local storage. I want this id to be affixed to the xml url as parameter so I can only get the data of the specific node?

I am not an expert on this, could you help me solve this or find better solutions?
Thanks

Andlen Go
Posts: 0
Joined: Sat Oct 19, 2013 1:10 pm

Put the request parameter in the url of an xml file.

I already found the answer, just need a thorough search
http://docs.appery.io/documentation/r...
Parameters in the URL (dynamic URL)

Thanks anyway

Andlen Go
Posts: 0
Joined: Sat Oct 19, 2013 1:10 pm

Put the request parameter in the url of an xml file.

Hi Alena,

I got another issue, I have followed the tutorial correctly,
I haves tested the request parameter from the srvice page and when I type the node id it returns the correct data. I checked my request and response mapping and they are correct. Also Im sure that nid is stored in the local database. howeevr when I test the app, its not loading the data, it says, undefined., any suggestion where should I check further?

Alena Prykhodko
Posts: 0
Joined: Tue Apr 09, 2013 7:36 am

Put the request parameter in the url of an xml file.

Please post a screen shot of 'undefined' error.

Andlen Go
Posts: 0
Joined: Sat Oct 19, 2013 1:10 pm

Put the request parameter in the url of an xml file.

Undefined error
Image
Tested the service successfully
Image
Mapped the data correctly
Image
Events setup correctly.
Image

Please help

Andlen Go
Posts: 0
Joined: Sat Oct 19, 2013 1:10 pm

Put the request parameter in the url of an xml file.

I did, and the rest service is working fine.
THe problem is the data are not tranferring to the assigned fields.
Can you please take a look in it to check.
I need the application to complete very soon.
Thanks

Igor
Posts: 0
Joined: Tue Apr 02, 2013 12:05 pm

Put the request parameter in the url of an xml file.

Could you share app with a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a and tell us it name.

Andlen Go
Posts: 0
Joined: Sat Oct 19, 2013 1:10 pm

Put the request parameter in the url of an xml file.

Hi Igor,

Thank you for the interest in taking a look at my app
Its name is:

Marketing App

I appreciate your assistance. Hope to hear from you soon
Thanks

Return to “Issues”