Arsalan Adam Khatri

Apr 12, 2017 10:44
deploy the solution again.. Uninstall-SPSolution, Remove-SPSolution, Add-SPSolution and Install-SPSolution - run these commands in exact same order to reinstall
Apr 12, 2017 10:40
I will add this as an answer :)
Apr 12, 2017 10:39
search for Add-SPSolution and Install-SPSolution commands
Apr 12, 2017 10:39
once you have WSP file you can use PowerShell to deploy the WSP Solution
Apr 12, 2017 10:38
answer: right click on the project and click publish. This will ask for path and create a WSP file in your given folder
Apr 12, 2017 10:33
looks good
Apr 12, 2017 10:33
Than add it inside head using <MyControls:CustomScriptLinks runat="server" />
Apr 12, 2017 10:32
<%@ Register TagPrefix="MyControls" Src="~/_controltemplates/15/ProjectName/CustomScriptLinks.ascx" TagName="CustomScriptLinks" %>
Apr 12, 2017 10:31
Once done, your control is ready to use.. now in your master page use this control using @Register tag
Apr 12, 2017 10:30
In controls sometimes <SharePoint:ScriptLink needs to changed to <SharePointWebControls:ScriptLink
Apr 12, 2017 10:30
Add a new control name it anything "CustomScriptLinks" for example. And paste all the ScriptLinks from master page to this control. Make sure that the control is using correct namespace assembly
Apr 12, 2017 10:24
can you follow these steps?
Apr 12, 2017 10:24
You should be able to see User Control & Application Page options both are only available in Farm Solutions
Apr 12, 2017 10:23
You should see a ControlTemplates folder and within that a folder named on your project. Right click and click add -> New Item
Apr 12, 2017 10:22
from the new window select Template -> Control Templates and click Add
Apr 12, 2017 10:22
i will guide you here if you can follow.. right click on your project, go to add and than SharePoint Mapped Folder
Apr 12, 2017 10:21
okay that would be great
Apr 12, 2017 10:16
No farm solutions hmm.. Sandbox Web Part might help but not sure never done it before..
Apr 12, 2017 10:16
Are you using Visual studio for the solution? And is it on-premises?
Apr 12, 2017 10:16
Create a separate control, place all your ScriptLinks in that control and use that control in all your masterpages. That way you would only update single control.
Apr 12, 2017 10:16
We usually do it manually in masterpage by adding v=1.1 like name="custom/test.js?v=1.1" for example
 
Nov 17, 2013 11:13
A bit late, but congratulations guys :)
Nov 9, 2013 15:14
@KitMenke I thought I will withdraw from the elections.. as you were right about low number of flags and votes.. So I'll improve those and take part next time! :)