Is it possible to get a SmartApp's ID within the SmartApp itself?


(Endoplasmic) #1

I’m writing a system that receives notifications from various SmartApps, but I want to pass the ID of the SmartApp down the wire (I know it’s in the URL when I edit it via the IDE, so I was hoping the SmartApp itself knew).

Is this possible?


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #2

Yes.

It is a property of the SmartApp object itself. … app.id


(Endoplasmic) #3

Perfect! Thanks so much. Where did you find that info?


(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy) #4

Dunno. It should be in the Developer Docs in the API section defining the “SmartApp” Object, but I can’t find it there.

Probably on @jim’s todo list.