Forum Archive

Appex extension -identify sharing app

ihf

I would like my script to use the appropriate get (get.url or get.text, etc.) based on the app sharing its data. Is there a way to know the name of the app that invoked the sharing extension?

[deleted]

I don't think you can identify the sharing app but you can use get_inputs to identify the type of data that's being shared and then code to use it appropriately.

ihf

Thanks. Where is get_inputs found?

dgelessus

It's called get_input (not get_inputs) and it's a regular function on the appex module.

ihf

Perfect. Thank you both.