Quantcast
Channel: SharePoint 2010 - Development and Programming forum
Viewing all articles
Browse latest Browse all 11508

Deploying Script Code to NewForms.aspx as a solution?

$
0
0

Hi,

for adding script code to a NewForms.aspx of a list, i´ve seen different possibilities. But all are not deployable. They are editing the .aspx by placing a CEWP on the form and then adding the code into the CEWP. However when i want to deploy this to different SharePoint Systems, i´ve to give exact instructions to our admins how do this as i´m not allowed to make changes in our test and production Systems. So i´d like to deploy the script code into the .aspx by a SharePoint solution file? Is this possible? I know how to do this for a whole site collection (put the script files into a module and deploy it for example in the Style Library, add a Custom Action  Scriptlink and add references to the script files). Now the script files are included into every page of the site collection. Is this also possible only for the NewForm.aspx of a specific list?

Greetings, Jörg


Viewing all articles
Browse latest Browse all 11508

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>