Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Forward to another Adaptive Form

sureshp23286254
Level 2
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
Mayank_Gandhi
Correct answer by
Community Advisor
Community 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

2 Replies
Mayank_Gandhi
Correct answer by
Community Advisor
Community 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

sureshp23286254
Level 2
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

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