New answers tagged

0

You can first check the second list has the data. If the item exists then do Update List Item Action. Else use Create Item.


0

I think what I'm trying to achieve is simply not possible in Microsoft Sharepoint. Instead I've created 2 differents custom lists with differents permissions, then created a workflow that copy every item submitted by a user into one of these lists, depending on fields values.


0

You should create a SharePoint Group that don't have Manage List permission. Now add all users who can't approve the items into that group. Now go and remove the users from the current groups.


0

Similar to http://stackoverflow.com/a/38020258/708685, you should be able to. While your column Assigned To has allow multiple values enabled, fill in all of your data as needed. Once done, turn off allow multiple values. SharePoint will pop up a warning about how this data may be lost (so far has never happened to me). Hit okay, then modify the view you ...


0

Thanks for clarifying. Based on what I read now, it sounds like there is the head of operations, who is the only person who can answer any question (list item) that is added to the list. This person should be able to edit the list items, but no one else should be able to do so, but everyone can read and add items. Based on that, you can create a very small ...


0

Give item level permission to the users with Contribute . So that user can answer the question. For other users remove or give read permission.


1

Try something like this. You will need to add this JavaScript and a reference to jQuery on your page. It uses jQuery deferred/promises to wait for three REST calls to return successfully before showing the list counts on the page. Note I haven't tested this so you may need to debug. var listCounts = []; $.when( RestGet("listname1", "yourErrorDiv", "...


0

My Findings Connect to outlook feature is available only to these type of lists: Calendar, Tasks, Project Tasks, Contacts, Document Library and Discussion Boards. Prior to Service pack 1: If your SharePoint site has Minimal Download Strategy feature enabled, simply press "F5" to reload the current page. You'll get connect to outlook button enabled! ...


0

You can iterate through all available items in all lists. If 'ProgID' of any item contains 'InfoPath' then that list is using InfoPath Form. This is not afull proof solution but it can help. See image below: SPSite site = new SPSite("http://xyz:123/sites/sample_1"); SPWeb web = site.OpenWeb(); int libCount = 0; foreach (...


0

Posting as an answer... Use a people field in stead of a lookup field. You can then retrieve the email address from the user indicated.


1

This row ListTemplate listTemplate = site.ListTemplates.First(lt => lt.Name = "ClientID"); should be ListTemplate listTemplate = site.ListTemplates.First(lt => lt.Name.Equals("ClientID")); You need to compare the values, not assign one to the other.


0

We have been using Cloud2050.com's Exchange to SharePoint connector. It is a cloud based service and very easy to set up. You can set up multiple connectors and it can automatically parse out content from email and enter into SharePoint as data.


0

Not sure if it is different for folders in Custom List SPLists as opposed to Document Library SPLists but using the below code works for Document Libraries by using the SP.Folder.folders collection .add() endpoint (MSDN link: https://msdn.microsoft.com/en-us/library/office/jj246631.aspx) Using the following code: var folderName = 'TestFolder'; var url =...


0

You can hide Designation etc. from View, and Employee_Name can be Title field renamed, once you click Title by default it will open details of the item in popup which will include Designation. Simply click Title column in List Settings and change the column name to Employee Name. Rename Title column in SharePoint List


0

If you get the autoeventwireup is not allowed in this page error, try accessing the page when using a default masterpage that comes with SharePoint vs a customized masterpage. It has to do with the way SharePoint handles customized pages vs non-customized pages. Customized pages are presented using a no-code mode handler and therefore can't have server-...


0

I can think of a couple ways to do that. If you are running SP2013 on-prem and can deploy managed code, you could use an event receiver on the Site A list to create a new list item on the Site B list. You (or someone you know) would need to know how to program in C# using the server-side object model in order to do that. Alternatively, if your farm is set ...


1

Hey I have got the same requirement to work with and I was able to accomplish this task so here I am sharing my approach. I created a Excel file using SPFile object available in sp.js var fileCreation = new SP.FileCreationInformation(); var d = new Date() var utc = d.toJSON().slice(0, 10) + "-" + d.getHours() + "-" + d....


0

You can make publish copy of your solution and put .wsp files from bin folder of publish copy to your another SharePoint server and deploy there with PowerShell Script using following command Install-SPSolution -Identity <solution.wsp> -WebApplication <name or guid of web app> -GacDeployment Refer this link for more detail.


2

Welcome to the site. What happens when you add site columns to a list or content type is that a copy of that column is taken and added to the list or content type. For this reason, if you were to delete the columns from the list or content type, you would only ever be deleting the copy. Are you using content types in your list? If so, go to your list's ...


2

In your comment on the original question, You've indicated that you have experience working with Mark Rackley's method of manipulating forms using custom HTML and jQuery. If that is the case, you can achieve what you want by basically using that method. What you would need to do is, in the $(document).ready handler, make a client side call to SharePoint (...


2

You can achieve this using InfoPath forms. You can create data connection using Web service GetUserProfileByName and then query for department field. Using InfoPath and the Web service GetUserProfileByName Create sections and based on department you can hide sections.


3

For OOB solution, I'd create multiple New/Edit forms for the list (one for each department). Then ensure each department user uses the New/Edit form customized for them by, e.g., placing link to form in top navigation and using Audience targeting to only show link to department specific form link to users of that department.


2

As SharePoint does not support Column level permissions, there are some third party tools available for column level permissions: Column Level Security SharePoint Column/View Permission You have to create two separate groups for HR & IT and give appropriate access to columns of the list using above tools. Non-OOB solution: Create separate groups ...



Top 50 recent answers are included