How to populate controls from rest service call

  • 19 January 2017
  • 1 reply
  • 0 views

Badge +1

I have a rest service that returns employee data. I can use the Web Request Control to get the data that I want. Just like the following article... 

However, on my service response, I already get the employee number, position, name, and so on...

Do I need to make a different call for everything single control I want to populate? Isn't there a way that I can make one call and use the returned xml to populate other controls?


1 reply

Userlevel 6
Badge +12

Hello ‌ - 

Unfortunately we cannot (at least I have not found a way to do so!) sad.png

As much as I hate using InfoPath...ugh... this is something that InfoPath can do pretty easily.

Alternatively, you can get your XML data, store it in a control and then parse the XML via workflow, but if you need to display it on the initial form, this does not work.

Reply