cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The service knows information about the widget that has invoked it

Newbie

The service knows information about the widget that has invoked it

Hi All,

inside the code of the service is it possible to know information (like label, Display Name an other proerties) about the caller widget.

Many Thanks

BR

Dimitri

Tags (1)
2 REPLIES 2

Re: The service knows information about the widget that has invoked it

Hello, Dimitri.

In general, Services run independently of the mashup/widget that calls them. You could design the Service to take parameters you'd pass at runtime when it's invoked, it's unsure if that would do what you want here.

Can you describe the use case you have in mind with more detail?

Thanks,

-- Craig A.

Re: The service knows information about the widget that has invoked it

No you don't.

On our case, on highly used services, we added a parameter ( let's call it debugId ) as string where you can set from the Mashup with the Mashup Name, and then log that parameter on the logger.info.

Best Regards,

Carles.