Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

New answers tagged

0

Figured this one out. The trick was to use SP.FieldUserValue.fromUser('email@ddress.com'); Even though the official documentation states to use this method you pass the 'userName' I was able to pass the email address instead to get the right object to pass to the people picker via JavaScript. Below is an example of what I used to solve this: function ...


0

You could use the SharePoint Migration Tool to migrate the complete approval task list from SharePoint 2013 to SharePoint online. You could download the SharePoint migration tool by the link. More reference: Using the SharePoint Migration Tool.


1

This is standard for SharePoint, if you remove the group from the library it is removed from everything below it. You will need to change the group permissions at the library level and not remove the group.


0

The task list should migrate, depending on what tool you are using. You can then use PowerBI for reporting. I'd suggest running a test migration of the task list to see how it will migrate over.


1

I had this exact error. My issue turned out to be a mismatch in my field names used in the page (and visible from SharePoint Designer). I had an uppercase D when it should have been lowercase (or they just all should have matched). Here's a snippet of what I had: <td width="70%" valign="top" class="ms-formbody"> <SharePoint:FormField runat="...


0

Except using a Calculated column, you can also use InfoPath Designer to customize your list form then use Rules to set field's value. Set a field’s value


0

You can try to use SharePoint OOB filter web part and connect it to your list. Please have a try and check if it matches your requirement. SHAREPOINT 2013 OUT OF BOX WEB PARTS Use SharePoint List Filter in SharePoint 2013


0

Try this.. 1)Open the project path in Windows Explorer 2)Locate the file .csproj.user(or .vbproj.user) 3)Open it with text editor(e.g. Notepad) 4)Change the SharePointSiteUrl property 5)Save the file, and then re-open the project (by deploying) This works perfectly for me.. Thanks Jinchun Chen


0

Update: I was able to accomplish the task mentioned above by adding some jQuery to the parent page that basically read the parentID querystring value and passed it along to the child newForm page. Inside the newForm page of the child, I look for the querystring value containing the parentID. If it exists, I am setting the value and disabling the drop down ...


0

You can click the user name->edit your profile->then you can set "department" for the user: Then run "User Profile Service Application - User Profile to SharePoint Full Synchronization" timer job manually. Now you can see the department field in people and groups.


0

If your library has more than 5,000 files, search can omit files from results. If that's the case, indexing the column(s) you're querying might help.


0

The usual suspects are either that the search result web part is set to filter out duplicates or that the max number of items for that web part is less than the actual number


-1

I have used the following link to solve similar issue. Excel Calculation Services must be started and Excel Services service application must be created. https://docs.microsoft.com/en-us/sharepoint/administration/configure-excel-services I hope this helps, Haileleoul Gudeta


1

From my understanding you have four columns StartDate1, StartDate2, EndDate1, and EndDate2. I'll shorten these to S1, S2, E1, and E2respectively. The final equation will use the full names at the bottom of the post. If the validation doesn't work, please let me know. To put list validation on, you have to go to List Settings > Validation Settings as per ...


0

I do not have SP1 for my SharePoint, but this worked for me: var clientContext = new SP.ClientContext("absolute url to sites that contains the list"); var IssueList = clientContext.get_web().get_lists().getByTitle("title of the list");


0

Sounds like you need a Calculated Column. Add a Calculated Column. Enter a formula like below. =IF( ISERROR(SEARCH("KDFW",[Route of Flight])), "NOT NEEDED", "NEEDED" ) Note: SEARCH returns a number if the text is found, or an error if not.


0

You can use Rules to set field's value on InfoPath form. Set a field’s value SharePoint 2010 InfoPath Forms and Rules


0

Check if permissions on the SitePages or Pages library are broken. Please give access to people on the Site Pages or Pages library as well. Also, you need minimum view only or limited access permissions on the site which contains your document library.


0

I tested the answer to this question with the case where I stop and start the "Microsoft SharePoint Foundation Web Application service in Central Admin". See this link I can confirm that my old URL will come back in IIS after that. I tested this on SharePoint 2013. So removing the site from IIS and extending again will do the job.


0

The ListItemID property in the search service is considered "Queryable" but not "Searchable" meaning that search won’t look at list item IDs unless you explicitly tell it to. In other words: A search for “4832” will bring back files and items that have 4832 in their bodies or in searchable text fields. A search for “ListItemId:4832” will bring back items ...


0

When you install SharePoint updates, you have to run the config wizard after, or the farm will not be in a supported state. If you call MSFT this is one of the first things that they will have you do.


0

As per my understanding you are looking for Breaking permission inheritance in SharePoint. Check below official documentation by Microsoft for the same: Customize permissions for a SharePoint list or library. Additional Reference: User permissions and permission levels in SharePoint Server.


0

You have to do more work as Russ mentioned in his blog. he very well explained the reason, "making any change to Web Application settings without proper way, will not update the configuration database". So when we have an issue with SharePoint farm, sharepoint will knew old host header url. Extending and un-extending the web application is way to go with it,...


1

You need to add below CSS in order to hide the Home icon/link from your page: <style type="text/css"> div#siteIcon { display: none !important; } </style> Or (to just remove the link keeping the same in site logo and page title as it is): <style type="text/css"> div#DeltaSiteLogo { display: none !important; ...


0

Try any of the below steps: Try rebooting the server Try restarting the services and service application Check account associated with the service application if it is working Try resetting the index using index reset. Check this article. If nothing works, then I think you should run the config wizard (check for possibilities if it breaks something and only ...


0

It's been a while, but I did something similar by first converting the dictionary to a string (Set workflow variable) and then parsing the string in a loop. The returned string looks like this: {"a":"1","b":"2","c":"3"} You can search the web for a number of examples of parsing delimited text in a workflow loop.


0

I can see there are some syntax errors in your code like: dateToString1 is not defined anywhere. Arguments/Parameters you are passing and using in date_diff_indays() function are different. Check below question on Stack Overflow to get the number of days between two dates: How do I get the number of days between two dates in JavaScript?


0

Look's like you are in a list form. So, the location is: Ribbon.ListForm.Display.Manage.Controls._children Without knowing the Sequence Numbers being used in that ribbon, you will have to do a little trial and error testing. (I'm sure it is documented somewhere on the web.) "100" should put your Custom Action to the right of the Edit Item button. You can ...


0

Change to library to Open in Browser, not client apps, OWA is browser based. Also can a PC on the VPN open documents in OWA? If not it maybe a network issue where the OWA server is not accessible through the VPN.


0

If the file is copied to the Queue folder instead of the Drop folder, open the file and check the content, probably this would be because the recipient is not recognised. This means that the email domain that we have set up is not correct. Check the domain name and try this procedure again. Check for the email address of list/library is correct. If you send ...


0

I don’t have the PowerShell answer, but when I need to bulk upload links into a list I use the below formulas. The Hyperlink Field formula works for a hyperlink field in a Links list, but I usually use a Custom List with a MLT field so the links open in a new tab. While in Quick Edit, paste the cells with the formula into your list. MLT Field Formula =...


0

Per my knowledge, that will be hard to accomplish your goal. We cannot directly get the parent list value and send to the new item form window.


-1

You can fix the issue by updating to the 4.0 version and modify the code. Follow the instructions in the following link to set up the 4.0 version http://www.markrackley.net/2018/04/08/the-return-of-hillbillytabs-part-4/ Then all you need to do is replace the $("#tabsContainer").attr("id",tabDivID).append("<ul id='"+ulID+"'></ul>"); with var ...


2

You can open the form page (ASPX-file) in the SharePoint Designer and add as many web part zones as you need. Also, I'd recommend you truing Plumsail Forms Designer for creating a form with related items without coding. The software itself is not free but saves a lot of time so finally it will cost less than if you'd implement the same by yourself.


0

With a little help from Reflection it can be done: List<ProjectPolicy> availPolicies = ProjectPolicy.GetProjectPolicies(web); ProjectPolicy policy = availPolicies.FirstOrDefault(); policy = availPolicies.Where(p => p.Name == "XYZPolicyName").FirstOrDefault(); policy.EmailSubject = "SiteName Deletion Notice"; object ct = policy.GetType().GetField( ...


0

Found this tip which answered my question and made it work: "you will need to disable content type management (Allow management of content types? = No) in order to change the column order. Once you have the column order to your liking you may re-enable content type management.:


0

You can use configure to: Sets custom options for current object and all derived objects accessible via chaining. You can read more about it and find some good examples in below official documentation: PnP JS - public methods - configure.


1

You can try migrating data from SharePoint 2013 to a sharepoint online via Azure Storage. For more information you can refer to the article below: https://expert-advice.org/office365/sharepoint-2010-on-premises-to-sharepoint-online-office-365-migration/


1

You can create your own tool using PowerShell. You can use server side code to read the SharePoint 2013 and the use Sharepoint online PnP to upload to the target library (with that you can preserve the metadata stored in the source on prem farm. You can go far with such tool with even creating libraries, columns content types in the sharepoint online based ...


2

Their is no way to migrate to SharePoint online without using the migration tool (MSFT or 3rd party). Or you can manually migrate your data to Office 365 if you have documents only. But if you dont want to spend money then use the MSFT official migration tool for free. Download and install the SharePoint Migration Tool


0

Check if you have installed the December 2017 CU for SharePoint 2013. For more detailed information, refer to the articles below. The SharePoint Properties Pane (successor to DIP) is available for SharePoint 2013 December 12, 2017, update for SharePoint Foundation 2013 (KB4011596).


0

During troubleshooting, i found that the account being used for syncing the users were got disabled. Enabled the account and this resolved the issue. Thank you All.


0

There is an easier method as a workaround: In the list, modify the current view, select 'Preview Pane' under 'Style' section. Then in the list view, we can get relevant item detailed when hover on the item. Then create a wiki page and insert these two list view web part, set the 'Text Layout' in the FORMAT TEXT tab as 'Two columns' in the page.


0

Try changing Column Order in Content Type of you SharePoint List similar to match the order of your task list. Reference: How to change the order of columns in a SharePoint list or library.


0

This is not complicated at all. Regular Sharepoint lists should work for what you are trying to accomplish. Create a new list with the detail on the items that you need. Go into the list and click on the gear icon in the top right corner and select list settings. At the bottom, click "Create View" Click Standard View Add "Attachments" to your view. ...


0

You need to use something like: $("#myDiv input").prop("disabled", true); $("#myDiv select").prop("disabled", true); $("#myDiv textarea").prop("disabled", true); I tried below and it's working: <div id='myDiv'> <tr> <td>Input1</td> <td><input type="text"/></td> </tr> <tr> ...


0

Just copy - paste and run . You dont need import everything library :D Best performance solution :) function populateDataFields() { var data = {}; $.ajax({ url: _spPageContextInfo.webAbsoluteUrl + "/_api/SP.UserProfiles.PeopleManager/GetMyProperties", headers: { Accept: "application/json;odata=verbose" }, ...


0

Active Directory Import (ADI) doesn't use FIM service. Moreover when you switch to ADI, the FIM service will be shut down. There is a step-by-step MS Technet article, that explains, how to configure User Profile Synchronization Service to use ADI. My experience is, that a lot of problems are caused by the fact, that the service account is not properly ...


0

When a request is saved in the Request List, you should be able to populate a field in the request item with a link to the new form of feedback list new form. A simple workflow or an event receiver can do this. You should also have a lookup field in the feedback list that points to the key field in request list so that feedback items for a request can be ...


2

Not with SharePoint groups. You can do this with Active Directory Security Groups. You would add users to the AD Sec Group then add the AD Sec Group to one or more site collections within SharePoint groups.


Top 50 recent answers are included