Dermis api FORM data model | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by NitroHazeDev

Invoke service uses dermis api as suggested but the approach used is via custom submit in this case . API limitation prevents one from writing test case as the api is not exposed and adobe will be working to expose in the further 

thanks

3 replies

Vijay_Kumar_Jalagari
Adobe Employee
Adobe Employee
June 25, 2024

Hi,

 

Yes, could you please describe your use cases and any related questions?

Level 9
June 28, 2024

Would like to use dermis api without passing deprecated json Apache api for the same  and I am passing json object or string , with multiple entities and data via submit.

 

1. Additionally wondering if using function output(not invoke service) I can invoke service using dermis api ?
2. another need is on submit, I would like to invoke puts or posts to subset of json data sent via submit, which I have class written but using deprecated json Apache api (code provided by adobe).  @vijay_kumar_jalagari . I have json string and what easy way can I convert without using json Apache api


3.Also any redirect that can be sent over to front end ?

 

4. i see the response of execute query via dermisbridge is null but query is executed accurately , how do i know it is a success response via code - so as to capture it

Vijay_Kumar_Jalagari
Adobe Employee
Adobe Employee
July 2, 2024
  1. Invoke Service internal uses Dermis API for execute operations/services. 
  2. Have you tried ValueUtil.jsonToValue for converting json string to IValue which you can pass to Dermis API Query.
  3. You have to use Custom submit handler which internal invoke dermis bridge and configure redirect at submit action level.
  4. If they is no exception then query is executed succesfully, response is completed depedent on service you are invoking.
kautuk_sahni
Community Manager
Community Manager
September 13, 2024

@nitrohazedev Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
NitroHazeDevAuthorAccepted solution
Level 9
September 14, 2024

Invoke service uses dermis api as suggested but the approach used is via custom submit in this case . API limitation prevents one from writing test case as the api is not exposed and adobe will be working to expose in the further 

thanks