Tag Info

New answers tagged

1

Based on previous answers the approach I can think of is to add an event receiver which checks who the user is as denies the change if they are not allowed. You could use the SPListEventReceiver FieldUpdating event. https://msdn.microsoft.com/en-us/library/office/microsoft.sharepoint.splisteventreceiver.fieldupdating(v=office.14).aspx You would need to ...


0

Did you create a column or a content type in the content type hub? If it is a column, did you add it to the Document Library content type? If that is the case, you can either wait for propagation of the change or you can choose Republish option under Content type>>Manage publishing for this content type If you have created a new content type, that content ...


3

Yes you can do this Using jQuery to dynamically change this on document.ready event Recommended way - Using JSLinks Option #2 you can use JavaScript to specify how a field should be rendered. For more check this article. http://zimmergren.net/technical/sp-2013-using-the-spfield-jslink-property-to-change-the-way-your-field-is-rendered-in-sharepoint-2013


0

A way would be to use SharePoint designer to change the New/Edit/View forms to a application page. Provided you know enough to edit the markup. The following steps would suffice. Create a Application Page Open the List With SharePoint Designer Under the hedding Forms Click New. 3.1 Create whichever type of form you would like to change. 3.2 Edit it to ...


0

Go to Advanced Settings and Enable the Allow management of content types. Now you will see the content types associated with the list under the Settings section. Click on Item or the specific Content type. Select the column. Check the Hidden radio button. You can also do this by adding a js file to your page and adding the following lines of code: ...


0

I would use InfoPath to remove the field from your form, but as that is deprecated, I don't know how Microsoft wants us to do that in the future. To answer your side-question, best way I've modified many fields at once is via workflow to do the edit and use a dummy field which I change value on. Open the list in datasheet view, make a change in the top ...


0

Just include the / in the character class. But since you are using / as the regex delimiter you need to escape it as well as /. Hope this helps


0

You can create a list with all the values you want populated and then save that as a template (check 'save content'). Once you've done that, you can create a new list that is of this type and has all of these pre-filled rows.


1

In order to make a lookup column work for a user with contribute permission level on one list, that same user need to have at least read permission level on the list to lookup. Probably, this is a system list which is intended to be used for functionality rather than content. To save admins from unintended edits, the permission inheritance was broken on the ...


1

If you are using SharePoint on-premises you can't create the library and the custom columns in a single call using the REST API. You need to make a call to create the library and then make subsequent calls to create each of the custom columns. The REST API in SharePoint Online now supports batching so you can create the library and the custom columns in a ...


1

I don't think you can create fields (columns) in a list/library at the same time when creating it as the REST endpoints for list/library and fields are different. So you will have to first create your document library and then add fields to it. The Fields REST API reference on MSDN is a pretty comprehensive guide on how to create different type of fields. ...


1

I'm not sure if a column can be created at the same time, but perhaps this example will guide you on how to create a column: // Create a new list field function createField() { var fieldName = document.getElementById("createlistfieldname").value; var executor; // Initialize the RequestExecutor with the app web URL. executor = new ...


1

Go to Advanced Settings and Enable the Allow management of content types. Now you will see the content types associated with the list under the Settings section. Click on Item. Select the column. Check the Required radio button.


1

You may have to do this in Powershell. $site = Get-SPSite -Identity "http://sharepoint/" #change $web= $site.OpenWeb() $spList = $web.GetList("/Lists/CustomList") #change $field = $spList.Fields["Location"] $field.Required=$true $field.Update() $web.Dispose()


0

As mentioned above the script you posted loads jquery to your page so you can use its function but, since you mentioned about freezing headers Check here to know how would you implement them, alternatively there is a script which makes this possible in easier way click here for more details


0

The added script tag is to load the JQuery plugin. After loading it you have to explicitly write your JQuery code to hide the elements, either by using class name or the control id. Example: The below code snippet will be executed after page load and hides a control. $( document ).ready(function() { $('#ControlID').hide() });


0

You have to check the Allow unlimited length checkbox on the list column's properties page. In the above case please select Ja for Onbeperkte lengte in document bibliotheken teostaan


3

Thats possible: create a new calculated column in the list/library. In the calculated field copy and paste between the quotes "=IF(HOUR(Modified)>12,"PM","AM")" Save. Go to view and and group by date and second by this calculated field. Then column


0

Yes. Create a choice column for the library with the two options of AM, PM, Before 12, After 12, whatever you want. Then create a new view or modify the default view. One option is to Group By. You can set it to group by Date first, then by the create column. You can do this all from Library Settings. Getting there will depend on your version of ...


0

Did you try to change the width by: Edit page -> Edit web part -> Change width in Appearance section Or else you can change the width using JavaScript. Add a js file and change width using .css method.


0

JSLink is great but not the only solution. Your code can easily be put in a Calculated Column; if set to output as Number it will evaluate the HTML and display the IMG "<IMG src=""http://URL/sites/Main/Testing/Webparts/JSLink/Status-"&[Status]&".png"">" By the looks the only image name you have to rename is On-time


0

I do not believe this is possible. If you open up SharePoint Manager, Created By is not a property in the field's Schema XML both for out of the box fields and custom fields.


1

It seems your template is not applied since clienttemplates.js library is not yet loaded when SPClientTemplates.TemplateManager.RegisterTemplateOverrides function is invoked. Instead of (function () { var overrideContext = {}; overrideContext.Templates = {}; overrideContext.Templates.Fields = { 'Status': { 'View': overrideTemplate ...


0

You can use jquery to show/hide fields on sharepoint list forms. Using jQuery, you can control the visibility of fields. For example refer this link.



Top 50 recent answers are included