11-24-2016 03:45 AM
Hi ,
I have requirement that i got some JSON response result from Repo Webscript based on Some Search Query.
I want post this results into AlfList in AIkau.This entire process i want on after submitting FORM.
Like faceted-search.
Thanks,
Jay
11-24-2016 08:12 PM
Hi Dave,
thanks for your reply,
actully I tried with "loadDataSucessTopic'
in my custom service after making repo call in success call back I am publish these response into beloway
then I am able to see the result into my list.
this.alfPublish("SUCESS_RESP_TOPIC" + "_SUCCESS", response);
this approach is correct??
Thanks,
jay
11-24-2016 04:17 AM
Have you worked through the Aikau tutorial yet? This covers both the concepts of rendered lists and of using the forms - I would strongly recommend that you go through it if you haven't already.
There are also lots of blogs posts that I've written that cover all these topics. This blog post and related video in particular might be useful.
The general approach would be that you have a custom service that handles your Form requests and then publishes the response. You would have an AlfList that subscribes to the topic published containing the results, and then you build a custom view of the data using the renderers from the alfresco/renderers package (such as Property).
11-24-2016 08:12 PM
Hi Dave,
thanks for your reply,
actully I tried with "loadDataSucessTopic'
in my custom service after making repo call in success call back I am publish these response into beloway
then I am able to see the result into my list.
this.alfPublish("SUCESS_RESP_TOPIC" + "_SUCCESS", response);
this approach is correct??
Thanks,
jay
11-25-2016 04:14 AM
In the payload that your custom service receives the AlfList should be providing the alfResponseTopic to publish the results on (in more recent versions the payload will also contain alfSuccessTopic and alfFailureTopic attributes). You can use these values as the topic to publish the reponse on.
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.