Tag Info

Hot answers tagged

2

You can leverage SPServices http://spservices.codeplex.com/. Download the js library file and upload it into a SharePoint library (ex Site Assets) Then edit the page in question, add a content editor webpart and link the JS files. Now handle the onchange event of the text box where the search is happening, then use SPServices ...


2

There is no encryption option on a list level. Lists have item level security built into them by simply going to the List Settings and clicking on the Advanced settings. From there you can set the Read option to Read items that were created by the user and the Create and Edit option to Create and edit items that were created by the current user. Also set the ...


2

This is how JavaScript client object model works. After loading, you need to execute clientContext.executeQueryAsync in order to get results back. However, if you don't like the asynchronous execution and want synchronous execution then you can use callbacks of deferreds. An example using JavaScript callbacks: $(document).ready(function () { //don't ...


2

You can do this with a little bit of custom code. The ideal solution will be either to place a custom action in the Item Context Menu or in the Ribbon. Then clicking that will do the copy of the current selected item and opens up the edit form of the newly created item. ...


2

To setup the additional field from the lookup, you need to add a second lookup field pointing at the same list, but include the FieldRef attribute on the second lookup field. The value of this attribute should be the same as the ID attribute of the first lookup field. <Field ID="{5D184D01-082C-4831-8757-CA2C98F05221}" Name="Title" DisplayName="Title" ...


2

You can add OOTB SharePoint rating to a list. Go to the list > list settings > rating settings. Set "Allow items in this list to be rated?" to Yes and choose between having "Likes" or "Star ratings". Enable users to rate content


2

You need to add the OverLays to the Home Page App Part. OverLays you set for one Calendar part will not get copied over.


1

Out of the box, SharePoint does not support permissions at column level. SharePoint supports access control to the item (or document) level. Access policies can be scoped at the folder, list (library) and site levels. Related security policies are configured at the site collection level (Site Collection Administrators membership and permission ...


1

You can try below =IF(or(c1="choice2",c2="choice3"),isblank(c2),true) The logic is if c1 = choice2 or c2 = choice3 check if c2 is blank (if blank return false, else return true) else return true Update =IF(OR([column2]="pineapple",[column2]="apple"),IF(ISBLANK([simplelineoftext]),FALSE,TRUE),TRUE)


1

Workflow: Create a workflow in SharePoint Designer which sends email to the user mentioned in the list field. Use Send an Email activity in the designer and the url of the item can be embedded in the mail body by appending the ID of the added item with list display form. Example: /DispForm.aspx?ID=1 Event Handler: Write ItemAdded event handler and send the ...


1

As a note to folks looking for a solution to this question for Office 365 or SharePoint 2013, you can edit the message using JS Link and CSR. For details and example code see this blog post: http://www.idubbs.com/blog/2015/jslink-csr-to-override-there-are-no-items-to-show-in-this-view/


1

You can do this using SharePoint Designer. Open the site Open the list Edit "AllItems.aspx" or which view you want to modify Look for <ViewFields> Add the property LinkToItem="TRUE" Example <ViewFields> <FieldRef Name="ID" LinkToItem="TRUE" /> </ViewFields>


1

Yes it will be the unique ID. Whenever you add an item to the list a new ID will be assigned to it. There is nothing like reusing ID. When the Document ID service is first enabled, new documents in the site collection will automatically be assigned new IDs. A timer job is scheduled to assign IDs to documents already in the site collection. Also, when the ...


1

You can add additional lookup field or select lookup field as ID in field settings: To Select Lookup Field as ID instead of Title: To Select ID as well as Title


1

You can assign multiple people in task list, for that you do following. Go to List settings --> Click on Assigned To column, then Under Allow Multiple selections, select Yes radio button. If you have built this as an app then you might need to specify in the people picker that multiples are allowed.


1

Create field on list 1 to store value -> Create a workflow so when you create item on List 1, it creates item on list 2. Then waits 1 minute, then updates List 1 with ID from List 2. This way the pause will allow the ID to be generated before attempting to update it. This works if you don't need immediate access to the ID link and can wait 1 minute for it to ...


1

You can get the textbox with JavaScript and set it's value.. Use the below script to set the value of different types of fields.. Get or Set value for SharePoint field in NewForm, EditForm and DispForm (Get only in DispForm)


1

You can automate this process in two ways Creating a SharePoint Designer Workflow Creating an event receiver Both has advantages and disadvantages. Designer workflow is simple and easy to develop. It doesn't require any kind of deployment. It can be developed using SharePoint Designer. The person who is developing doesn't require any programming ...


1

Trying to hook in and manipulate people pickers is an exceptionally frustrating exercise... Your code works for me by attaching to those events on the UserField_upLevelDiv as you have done, but your code will never return anything for $(this).val() because divs don't have a value they have text content, which you can get with .text() var nameVal = ''; ...


1

SharePoint stores changes to a list with before and after values in the site's change log. Since this is how SharePoint stores the changes to the data, there would not be a way to just query the data you are looking for. So you would have to create it with a custom solution of your own. You could consume the change log using a web service and filter it by a ...


1

You can use CAML queries. These queries are executed in the server and will retrieve only the items requested for. Use Pagination to iterate through the items. For that you can use ListItemCollectionPosition Here is a snippet you are use for this ClientContext clientContext = new ClientContext("weburl"); List list = ...


1

For pushing changes to the children you should specify as $ct.update($true) See the function signature http://msdn.microsoft.com/en-us/library/office/ms475130%28v=office.15%29.aspx


1

This can be done in many ways, depending on the need. Check for the following first Should this happen instantly when any new item is added in List A? Is this is a one time operation? Should this happen even when an item is updated in List A? Following are few approaches which can be followed. Event Receivers : Create remote event receivers for ...


1

Creating a lookup column will not add data from the lookup list. While creating events in the calendar list (app) you can pick the friends value from the lookup list. To automate this process you can Create a workflow that runs every day - Not recommended Create a timer job that runs every day You can add another calendar for keeping track of meetings. ...


1

Assuming you have same destination fields with same type as in source list following PowerShell will solve the purpose... try { # OUTPUT TO SCREEN THE CURRENT SPWEB. write-host "Working on Web: "$_.Title -ForegroundColor Green $numDaysToExpire = $ExpireDays $expireDate = Get-Date $expireDate = $expireDate.AddDays(-$numDaysToExpire) ...


1

One way to solve this is with a secondary workflow that waits 3 days and sends a reminder, waits another 4 days, sends a reminder, etc. You can have a parallel action that waits until the field has a value and then stop the workflow. http://markeev.com/Articles/item-expiration-reminders-in-sharepoint-using-workflow.aspx ...


1

Hers is the code you need to use in Event Receiver... int newID = 0; //Get current year int currentYear = DateTime.Now.Year; //Your list name string listName = "Test"; //CAML string assuming 'Title' is the column contains unique ID string ...


1

You will need to have 1 column to store information then another for the calculated value. Using a workflow, you would log the modified date in your first column when the status is set to complete. Then your calculated column would be something like =[Column1] - [Created]


1

PowerQuery uses REST endpoints (listdata.svc) which unfortunately doesn't support Managed Metadata. https://social.msdn.microsoft.com/Forums/vstudio/en-US/bba6f165-b012-4c5b-8e1b-a6e0093bb333/sharepoint-2013-managed-metadata-field-support?forum=lightswitch ...


1

SharePoint renders dropdowns differently in Internet Explorer depending on whether they have fewer than 20 options or 20+ options. (In Firefox, Chrome, and other browsers, SharePoint doesn’t give us this “benefit”.) You can use SPComplexToSimpleDropdown function as below: How Does It Work? The SPComplexToSimpleDropdown function works like this: When the ...



Only top voted, non community-wiki answers of a minimum length are eligible