Skip to main content
1-Visitor
June 26, 2016
Question

How to return mashup from serivce

  • June 26, 2016
  • 5 replies
  • 2744 views

Hi,

I need to show different control based on the input received to the service.

For this I am trying in following procedure.

1. I will have multiple child mashups for different controls.

      mashup1---> textbox

      mashup2  ---> checkbox

2. I will main mashup which will generate the output based on the user input.

  If the user gives input as string I need to return mashup1

  If the user gives input as booI need to return mashup2

For I am trying to write a service which takes input and return appropriate mashup.

Please help how to do this.

5 replies

1-Visitor
June 28, 2016
22-Sapphire I
June 28, 2016

If you want to do it per row, you would need to use a Repeater and build a grid that way.

22-Sapphire I
June 28, 2016

You can accomplish this using Contained Mashups

rk-311-VisitorAuthor
1-Visitor
June 29, 2016

Thank You Pai, using I am able to load mashups dynamically.

I have another issue here.

In my example, I have a textbox in mashup1. I want to do some validation on this textbox. I want to check the textbox value is greater than other textbox value which is present in parent mashup. I got struck here. Please tell me how can I do this...

Thanks

22-Sapphire I
June 30, 2016

You will have to use either Mashup Parameters or Session Parameters to get the values into the same 'space' so you can compare them to each other.

then you can use either a service or validation widget.