The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

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

The answer above is correct but let me explain it to you in a much simpler way . The public URL is basically the URL that a user sees when he gets a hit to the site. For example - If your default URL is http://example.sharepoint.com and you have made changes in the Alternate access mappings to point the URL http://example123.sharepoint.com as a ...


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.


1

Just like Mike said, it seems you want to only use classic UI for that list. You can change the default settings for that list. Check this: Switch the default experience for lists or document libraries from new or classic


1

These zones, and their labels, are just labels. There is no functional difference between the five Zone is a label representing a Public URL, the zone is used to ‘connect’ an Internal URL to a Public URL. The zone names has no relation what so ever with the four Internet Explorer security zones (Internet, Local Intranet, Trusted sites and Restricted sites) ...


0

You can create a new list, check if Quick Edit is disabled. If not, please make sure the new list has same columns with the problematic list, then use Content and Structure feature to move the items from the problematic list to the new list. You can find the Content and Structure feature as Site Settings->Content and Structure under Site Administration. If ...


0

You can copy individual stages of a SharePoint 2013 list-based workflow, but it will copy the actions and part of settings in it. If there is some custom variables, settings in the single task and so on, these will not be copied. It depends on your workflow actions


1

Looks like you have the same list displayed with the Classic UI first and the Modern UI second. The Class UI looks like it has a custom InfoPath form, which is not supported in the Modern UI. In the bottom left corner of your Modern UI screen capture is a the link "Return to Classic SharePoint". Click that to return to the Classic UI.


0

In Place of this.get_defaultDisplayFormUrl(), replaced it with _spPageContextInfo.webServerRelativeUrl . After this email a link is working


0

In my SharePoint 2013 environment with SP1(15.0.4569.1000), the values are returned as multiple lines when the values were in different lines. Check your farm's build number, make sure it is or after SP1. SharePoint Patches


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

This is the answer: PropertyInfo[] pinProperties = wp.GetType().GetProperties(BindingFlags.NonPublic | BindingFlags.Public | BindingFlags.Instance); foreach (PropertyInfo pinProperty in pinProperties) { if (pinProperty.Name == "City") { pinProperty.SetValue(wp, "propValue", null); } if (pinProperty.Name == "Status") ...


0

To delete the variation label, you could go to the site settings->Site Collection Administration->Variation labels->Delete the variation label. If you delete the variation label in the Variation labels list, then the variation will no longer reflect any changes or additions you make to the source site. You can still use the site for other purposes. If you ...


0

A couple of possibilities: Is your project building as 32 bit or 64 bit? Odd errors are reported if targeting 32 bit. Are you using the "internal" names of the columns? For example, was Title column renamed to DeptId? "Title" is still the internal name.


0

Waqas' answer is perfect, and you can get around the "checking one box checks the other" issue by unchecking both, going into developer mode in chrome and deleting the view items checkbox element, so when you check the "add items" checkbox, it can't check the view items checkbox via javascript. It does no server side checking for validation, only client-...


0

Where are you referring to the Email a link button under ITEMS tab? Has anyone added the Email a link button manually? I can only find Email a link button under LIST tab, while i cannot find Email a link button under ITEMS tab.


1

Try the script below with copy and remove way to do this. I changed a bit from your script. It works in my end properly. Connect-PnPOnline -Url siteURL Get-PnPList Get-PnPFeature -Scope Site $allDocs = (Get-PnPListItem -List Documents).FieldValues $targetLib = "/sites/test/Library" foreach ($item in $allDocs){ Copy-PnPFile -SourceUrl $item.FileRef -...


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

You can manually change the ULS logs location via Central Administration > Monitoring > Configure diagnostic logging > Trace Log Path. The location you specify must exist on all servers in the farm. Reference: Change Log Files Location for ULS, Usage and Health Data Collection.


0

If you want to use serach index you can use this function (it is for sp2013 but should work as well for later ones, in any case it will give you idea how to do it in powershell ) https://gallery.technet.microsoft.com/office/Move-SharePoint-2013-242869e2 if you problem is with ULS logs follow this advice how to do it in PowerShell: https://www.techtask.com/...


1

I am not a Java programmer but based on quick read it seems to be connecting to SharePoint Online. This will not work in your case. If I understand correctly you want to connect to SharePoint 2016 configured with PingFederate SSO using user name and password (let me know if I am wrong). Using Windows Auth I would suggest authenticating through windows ...


0

If I understand you have 2 libraries and then SPD workflow saves the data from library A to B. In order not to overwrite your data You need to update your SPD workflow. Before saving form to new library query it if the Application ID exists there you need to append the the old entry (with suffix -old) before saving the new one.


0

It seems you want to add a Cascading Dropdown listjust like Jammin4CO said. You can do it codeless way or use content editor and some codes to achieve this. A tutorial with sample code which you only need to change a bit: Cascading of Lookup Dropdown Fields on SharePoint 2013 and Office 365 How to create Cascading Drop Down list in SharePoint Online/2016/...


0

By PowerShell, you could loop through all excel files and download the excel files in the document library. Then read the data in the excel file to check if there are links. More references: PowerShell: Download Documents/Files from SharePoint OnPrem. Download All Files From a SharePoint Library Programmatically using PowerShell. Integrating Microsoft ...


0

What you are talking about is called Cascading Dropdowns. There are several options for this, but none are OOTB. You can look at JS or third party. Just google or search SE, there are several with answers, none accepted.


0

It's not exactly what you've asked for, but could you use a Managed Metadata field to achieve the same result? You could create a term set called "Cars", and then the first level of terms would be makes (e.g. Audi, BMW, etc.) and then nested in each would be various models (e.g. A3 under Audi, X3 under BMW, etc.)


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

You can use the following CSS: searchInputBox {display:none;} OR SearchBox {display:none;}


1

Date and time in sharepoint is ISO 8601 format. You could try the below script: $spweb = get-spweb http://sp/sites/test/ $splist = $spweb.Lists.TryGetList("TestList") $query = New-Object Microsoft.SharePoint.SPQuery $query.Query = " <Where> <And> <Geq> <FieldRef Name='Created' /> <...


1

Try using something like below: <Query> <Where> <And> <Geq> <FieldRef Name="Created" /> <Value IncludeTimeValue="FALSE" Type="DateTime">2019-09-01</Value> </Geq> <Leq> <FieldRef Name="Created" /> <Value IncludeTimeValue="FALSE" Type="...


0

It’s the default behavior since the user has only limited access permission in the main site. They don’t have permission to view modern pages. As a workaround, you can create a new permission level in the main site, select 'View Application Pages' list permission and 'Open' site permission, then grant this permission level to the user in the main site. ...


0

Wish you could pass parameters in the native version of the webpart but without Enterprise version of SharePoint... you cant attach a filter to pass the parameters. We built a custom web part that made a request to the Reporting services web part and passed the binary of the pdf back the user rather than rendering a sharepoint page.


0

$workflow.HistoryList.Items get all the history of the workflow history list in the site, not only for an item. You need to filter with workflow instance ID.


0

You can refer to the command below: Import-SPWeb [-Identity] -Path For more information about Import-SPWeb, you can refer to the article below: https://docs.microsoft.com/en-us/powershell/module/sharepoint-server/import-spweb?view=sharepoint-ps


0

If you are using single server farm then please check SQL Server service may be stopped. On SQL Server box restart SQL Server service. If you are using two or more SQL Servers with High Availability then on any SQL Server box open Failover Cluster Manager and check the status of cluster and each node and act per need.


1

SharePoint doesn't update that value consistently (it does when IE is used but not with other browsers). Have a look at this thread: https://social.technet.microsoft.com/Forums/en-US/b44b1292-2047-4e43-8b29-2acf0d2169ef/active-directory-lastlogondate-not-updating-when-accessing-sharepoint-via-firefox-or-chrome?forum=sharepointgeneral REF: https://blogs....


1

You can set permission for the external list, and using the OOTB list form to read and insert data to the external list. If you still want to create custom form, we can using HTML code and jQuery code with REST API to get data or insert data to the list. The following articles for your reference. Create Custom HTML Forms for SharePoint with this jQuery ...


0

Instead of using "Update list Item" action, try to use "Set Task Field" action to change the Due Date field for task list. Update: Since the Due Date field is for the current task that all users participated, the due date for all the users will update with the new due date when the workflow triggered.It's by design. As a workaround, you can use SharePoint ...


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

You will need to do some code work for an event handler. Here are examples for event handler For email part, there is also no OOB approach to send email with your new form pdf as attachment. Add a link to the file in your context may avoid some trouble. Example here


0

One of the options is to use IIS Rewrite Rules. You need to download and install it first. Then you can create Redirect rule using regular expressions: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/creating-rewrite-rules-for-the-url-rewrite-module#creating-a-redirect-rule


0

I had to replace CAML Query. Now I am able to get All fieldValues. Following code change for reference: $camlQuery = New-Object Microsoft.SharePoint.Client.CamlQuery $camlQuery.ViewXml ="<View Scope='RecursiveAll' />"; $listItems=$list.GetItems($camlQuery) $ctx.Load($listItems); $ctx.ExecuteQuery();


1

The Data Management Gateway should be installed on it's own server (or >1 as it supports HA). You would need Power BI Administrator rights to deploy it. From there, you can add one or more individuals to administer the gateway in the Power BI portal. These admins would have the ability to manage the Gateway in Power BI, including removing the Gateway, add/...


0

I was able to resolve this issue by enableing SharePoint support for TLS 1.1 and 1.2 by following Enable TLS and SSL support in SharePoint 2013 article.


0

Try following code: foreach($listItem in $listItems) { if($listItem.FileSystemObjectType -eq "File") { $file = $listItem.File $fileProps = $file.ListItemAllFields $context.Load($file) $context.Load($fileProps) $context.ExecuteQuery() ...


0

One option would be to use Powershell. Create a scheduled task on one of the servers that will get the Users from Group A and then Users from Group B into an array. Compare them and use delta to add (of you need that too) remove. The only issue with that is that the change will not be immediate but in most cases that is enough. If you would like to ...


0

If you want to display a list on another site, you can try to use Page viewer web part to show the list on the target page. More information, refer to Display a web page, folder, or file on a classic SharePoint page Or you can use Embed iframe code to display the list view page. Add content to your page using the Embed web part


1

Did you have a custom solution/feature related to "VDR_Mail_Event_Solution" on you SharePoint 2013 farm? If you have deployed custom solutions/features on your SharePoint 2013 farm, to make sure them work on your SharePoint 2016, you need to re-deploy them on your SharePoint 2016 before you mount database on SharePoint 2016 farm. Or, if you don't continue ...


0

Make sure "SharePoint OpenDocuments Class" managed add-on is enabled. Internet explorer-> Tool -> Manage ADD-ons -> SharePoint OpenDocuments class : enabled Besides, make sure you have installed office client on your computer.


0

You can use eval function for people picker in InfoPath. Reference for you: Using eval function for people picker in InfoPath InfoPath email submission and repeating tables


Top 50 recent answers are included