New answers tagged

0

@ahmed, Solution by Ahmed worked in my case. Code: <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script> <script> //Code to add url to the Hyperlink field part of Columna name: LinkURL - var setColumnValue = function (column, linkVal) { var columnObj = $("input[Title='" + column + "']"); ...


0

You can do this with a bit of JavaScript on the page. Edit the newform.aspx page and add a Script Editor web part with this code (note the use of jQuery hosted by Google: <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script> var internalNameOfUrlField = ...


1

Here is how I got it to work, added a script editor to the page and add the following modified script: <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.3/jquery.min.js"></script> <script> var setColumnValue = function (column, linkVal) { var columnObj = $("input[Title='" + column + "']"); //this is what I ...


1

Updated Just try below code: Just replace SPUtility line with below code: string url = HttpContext.Current.Request.Url.GetLeftPart(UriPartial.Path) + "?ID=" + wayBillID; SPUtility.Redirect(url, SPRedirectFlags.Default, HttpContext.Current); Hope this will help you.


1

Please try below mentioned code by which you can change the querystring parameter value UPDATED var qs = HttpUtility.ParseQueryString(HttpContext.Current.Request.Url.PathAndQuery); qs.Set("ID", "Your desired value which you want to change"); SPUtility.Redirect(qs, SPRedirectFlags.Default, HttpContext.Current); Please let me know if it works as i haven't ...


2

You can check it from QueryString in farm solution: string id= Request.QueryString["ID"]; if (id != null) { //code goes here } In SandBoxed solution string id= Page.Request.QueryString["ID"]; if (id != null) { //code goes here }


3

Please try HttpContext.Current.Request.Url.PathAndQuery inplace of this.Page.Request.Url.AbsolutePath It will get you the URL with querystring parameteres


0

Try getting the items with guid of the list instead of title e.g http://****/_api/web/Lists(guid'<your list id>')/items


0

You can either extend the web application or use host-named site collection http://dinushaonline.blogspot.com/2014/04/extend-sharepoint-host-named-site.html


0

You need to extend your Web application using below mentioned URL. Extend claims-based web applications in SharePoint 2013 By extending the web application, it will point the same web application with having another URL. So now you can set permission to readonly for every user (as per your need).



Top 50 recent answers are included