0

I would like to get the App part Id so i can uniquely identify what app part is calling my code. I can do that with the normal web parts but I don't know how to get it from the client side code.

0

There is a propetry that you can get automaticlly in the elements.xml called WPID that you can pass to your aspx page.

<Content Type="html" Src="~appWebUrl/Pages/Default.aspx?{StandardTokens}&amp;wpId=_WPID_" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.