Net Web Forms Application to create Web Application Project for the Provider Hosted App Provide Certificate details for the High Trust Apps Now once the project is ready we can start with the coding part of Solution as follows- Steps 1 – In the add HTML code to provide UI for the solution In the file add the following code- Steps 2 – Refer the JQuery File from the CDN Steps 3 – Calling Inject Java Script Function Steps 4 – Inside Inject Java Script Function, check if MDS is enabled and if it is Register Custom Java Script code using Register Module Init function.
The first parameter to the Register Module Init function is the path to the Java Script file relative to the _layouts folder.
This requirement can be achieved simply by deploying a Farm Solution containing the Event Receiver SPI hooked up with the Products List Item Deleting Event.
But what if we are not allowed to deploy any code solution in Share Point Environment?
Net Web Forms Application” as Project Template for the Remote Web Enter Certificate Details as we did in earlier demos On successful creation of the Solution two projects should be added as shown below.
“PH-Bind-Event-Receivers-With-Existing-List” – Represents the Code Base for the Provider Hosted App “PH-Bind-Event-Receivers-With-Existing-List Web” – Represents the Code Base for the Remote Web Select App Project and Press F4 to see the properties Under “App for Share Point Events” Set the Events that the App is required to respond to.
Since this is the Service that will be hosted somewhere outside Share Point due to this usual Share Point Tokens will not work here which means “~remote App Url” Url Token will not work in this case.