Forward to another Adaptive Form | Community
Skip to main content
Level 2
Apr 27, 2020 2:42 PM UTC
Solved

Forward to another Adaptive Form

Hi
I've this scenario where I display a list of records in an Adaptive Form. On clicking a particular record, I InvokeService and pass
Ticket Number and Email address. This service is configured in swagger doc and using POST method. I'm getting the result and now need
to call another Adaptive Form and pass this data.

How do i pass this data to another Adaptive Form.This Adaptive Form is bind to a data model and in the below ImpairmentDetails function i'm getting its
json response. So i should be able to forward to this Adapive Form with the data model.

Please let me know if you need any additional details.


var ImpairmentDetails = function(jsonResult) {

}

guidelib.dataIntegrationUtils.executeOperation(operationInfo, inputs, outputs,ImpairmentDetails);

 

 

Thanks & Regards

   Suresh

 

@mayank_gandhi 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Mayank_Gandhi
Mayank_GandhiAccepted solution
Employee
Apr 27, 2020 2:49 PM UTC

Hi @sureshp23286254,

 

Why creating 2 different AF. Use wizard layout keep ticket number in one panel and another form in the second panel and pass the control to the next section of the form after calling the FDM from the first panel. Or, keep all the panels on the same page hide all the panels except ticket number and once you have the JSON then show other panels. Save yourself from session handling and tedious design.

4 replies

Level 8
Apr 27, 2020 2:54 PM UTC

Let me send you a sample form

Translate
Mayank_Gandhi
Mayank_GandhiAccepted solution
Employee
Apr 27, 2020 2:49 PM UTC

Hi @sureshp23286254,

 

Why creating 2 different AF. Use wizard layout keep ticket number in one panel and another form in the second panel and pass the control to the next section of the form after calling the FDM from the first panel. Or, keep all the panels on the same page hide all the panels except ticket number and once you have the JSON then show other panels. Save yourself from session handling and tedious design.

Translate
Level 2
Apr 27, 2020 7:51 PM UTC

Hi Mayank,

 

Thanks a lot for this solution. I've started making changes accordingly to include 2nd form in new panel. From the json result do i need to re-assign the properties to form elements using somExpression or since I've already did bind to datamodel, i can initialize this data model from json result and refresh the panel.

 

Thanks & Regards

 Suresh

Translate