Datapolis Process System SDK


Home > Custom Controls > Deployment




The SharePoint solution needs to be deployed before you can move on to utilizing control.  Due to SharePoint security policy you may want to indicate that your control is safe for your web site. Otherwise there may be errors displaying it.


Add safe control entry

For security, SharePoint differentiates between Web controls that are protected against script injection and Web controls that are not. Protected controls, or safe controls, can be accessed by untrusted users. You can register control as safe by editing Package.Template.xml.



Add safe control entry for the control’s namespace.


<?xml version="1.0" encoding="utf-8"?>
    <Assembly Location="QuickLaunchForm.CustomFieldControl.dll"
              DeploymentTarget="GlobalAssemblyCache" >
        <SafeControl Assembly="$SharePoint.Project.AssemblyFullName$"



Finally, to deploy your project right-click its name and select Deploy.