- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2013 01:30 PM
I'm using @ldoguin's REST Client example to fetch some data from openlibrary.org upon document creation.
User goes to create a new book:
At this time, once the user clicks Create, I would like to fetch rest of the information about the book from openlibrary.org with the given ISBN.
However, there's no document being passed into my OperationMethod, resulting into Document does not exist error.
Here's my event handler:
Lastly, here's my automation:
Thanks for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2013 01:56 PM
Hi,
I think you should start the chain with the Fetch > Context Document(s) operation, which makes sure the current document is available for the next operation (here, ISBNQuery).
Thibaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2013 01:56 PM
Hi,
I think you should start the chain with the Fetch > Context Document(s) operation, which makes sure the current document is available for the next operation (here, ISBNQuery).
Thibaud
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-20-2013 04:40 PM
This was it. Although I did try this, I had some other issues in my configurations, thus I thought it wasn't it.
