Expand my Community achievements bar.

SOLVED

Forward to another Adaptive Form

Avatar

Level 2

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 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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.

View solution in original post

4 Replies

Avatar

Correct answer by
Employee Advisor

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.

Avatar

Level 2

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

Avatar

Employee Advisor
@sureshp23286254 Either of two should be fine. See what's easy and clean approach based on the layout.