New answers tagged

0

You could use the below script to achieve this: <div> The difference of today's date and the date on which latest outage occurred is:</div> <div id="myDiv"></div> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> <script type="text/javascript" src=&...


0

It's available to access Exeternal List Item using SharePoint Rest API: Manipulating SharePoint External Lists using REST Check out the site url and make sure the site url used in Rest API is the one which external list.


0

You can construct a query string, here is the documentation: https://docs.microsoft.com/en-us/sharepoint/dev/general-development/bcs-rest-api-reference-for-sharepoint#constructing-query-strings-for-filtering-data


0

A calculated column will not update automatically like that. The item has to be opened and saved for the column to re-calculate. It would be better to use a workflow in this case. In the workflow you can have the condition if Payment status = paid set Invoice age to "0" Then move item to "Paid Invoices" list- else if Payment Status = ...


0

Use the nuget package from here - https://www.nuget.org/packages/SharePoint.2019.CSOM.16.0.10342.12113/ . This was last updated on 25/04/2019


0

You could refer following articles to configure cache settings for a web application in the SharePoint server. Configure cache settings for a web application in SharePoint server How to modify the Cache-Control HTTP Header when you use IIS How can I implement “Cache-Control: no-store”


0

You could go to the master page library with this url:http://sp13/sites/yoursite/_catalogs/masterpage. Then download the seattle.master file, make some customizations to this file. Then upload this seattle.master to the library again.


0

I figured it out! I went to the file name 'details'. In there no file name exists in the 'Title' line, only in the "Name" line. Once I cut and paste the actual file name into the 'Title' field in 'details' the condition worked.


0

The error suggests that you are not referring to the correct column, as Matiur Rahman mentioned. If you can return “Not Found” for all columns, it suggests that the formula is working fine. Change the field name in your formula and see the result. Example: The formula I test with: =LEFT([Filename sample],(FIND(" ",[Filename sample])-1))


0

Here is one way to hide everyone in your people picker. Use the script below, there will be no everyone option in sharing(and any people picker) $claimMgr = Get-SPClaimProviderManager $allUser = get-spclaimprovider –identity "AllUsers" $allUser.IsEnabled = $false $claimMgr.Update() And your can set it back by changing the $false to $true then ...


0

I used your formula as-is, but could not reproduce the error in SharePoint 2013. In your environment, it seems FIND() for a space char is returning error. You can use ISERROR() with IF statement to further troubleshoot. As-is formula worked for me in SP2013 =LEFT(Title,(FIND(" ",Title)-1)) Use the below to see why FIND() is not successful in your ...


0

Please include the following in Web.config of web applications: <system.web> ... <httpCookies httpOnlyCookies="true" requireSSL="true" /> </system.web> More information for your reference: https://blog.elmah.io/the-ultimate-guide-to-secure-cookies-with-web-config-in-net/ https://www.itnota.com/enable-...


0

Choice columns with multiple selections cannot be used for grouping by, sorting or ordering under any circumstance. You will have to use another column that is not a multi-value column for those actions, for example, use a calculated column to identify what values are filled using numbers or plain texts, then grouping by the calculated column. These can ...


0

That puts extracting a part of the [Name] string little difficult. However, I think, we can use Contains clause in the Filter for the view. Even though Filtering on Calculated column worked from me, I'm seeing at here it's not supported. I will see if I can make it work Updating the response with a basic text extraction formula for the given scenario: The ...


0

Unfortunately, we cannot sort the multichoice columns. Some workarounds: Workaround For each choice, create a new "Yes/No" column. For example, if you have Red, Green, Blue choices, then create new three columns: Name: Red, Type: Yes/No Name: Green, Type: Yes/No Name: Blue, Type: Yes/No Then you can sort and filter by individual columns you have ...


0

Ok, based on your answer to my question in the comments, the short answer to your question Will I not be able to test my changes while debugging manually, unless the changes are deployed? is: yes, that is correct, you will not be able to debug unless your changes are deployed. The reason for that is this: when you write new code in VS, save those files and ...


0

Please try to use global term sets rather than local term sets to make this across site collection. In addition, per my test, if I add managed metadata in the list template, it will occur the error when i add a new list based on this template in other site collection: If possible, could you share more information such as steps for further test.


0

According to this article, setting a custom template for a SharePoint library is supported in SharePoint 2010, SharePoint 2013, SharePoint 2016 and SharePoint Online.


1

You could add value and style directly like,just like writing html: <b><span style='add css you want'><a href=" + url + encoded + ">" + FileLeafRef + "</a></span></b> List View CSR introduction: Client Side Rendering: List Views Updated: You could try to get it in ctx.ListData.Row.


0

From this link you posted, yes we could drag and drop them all from local drive to the document library with the modern experience. In normal document library, you could also create multiple views with proeprty filter to manage them.


0

By default, this only works for workflow 2010. It would not show for workflow 2013. You could create workflow 2010 instead to assign tasks.


0

Service Bus for Windows Server farm certificate is stored in SharePoint Trusted Root Certificate Authority, together with other certificates. You can see the references below for how to renew an expired certificate or store a deleted certificate: Configuration How To Topics - How to renew an expired certificate. Problem with ServiceBus - certificate error.


0

Here is what you can do: Create a standard view containing [Title] column, Group by [Title], and Totals [Count] on [Title] Then filter the view by selecting [Title]s in the headers of the view for which count >=3 See the screenshots below


0

I assume your page is a classic one ? Since your page is not using a masterpage, you will need to edit all of your pages and add a script editor or content editor to be able to do what you want. On your script editor, add this script <script type="text/javascript"> let pname = document.getElementById("pageTitle").innerText; document....


0

Test code for your reference: <input type="text" id="txttitle" > <input type="submit" value="Submit"> <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.5.1/jquery.js"></script> <script> $("input[value='Submit']").click(function(){ CreateListItemWithDetails(&...


0

Another option is to place the exe file into a zip file and then upload the zip file. It depends on how often this is required and by whom.


0

By default, executable files are blocked in SharePoint server 2010. https://www.sharepointpals.com/post/how-to-upload-the-exe-msi-files-into-sharepoint-2013-document-library/ As a workaround, we could go to CA> Security>Define Blocked file Types> remove the exe file type then click OK. You could also consider migrating SharePoint 2010 products to ...


0

You could use the following code to display Site Title on each Page. Please follow steps: 1.Open your Master Page by using SharePoint Designer. 2.Edit your Master Page <asp:ContentPlaceHolder id="PlaceHolderSiteName" runat="server"> <SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="...


0

If you want users to be redirected to the home page of the site without a login prompt, as a workaround, you could enable Anonymous Access for the site. For detailed steps, please refer to: https://www.sharepointdiary.com/2014/05/how-to-enable-anonymous-access-in-sharepoint-2013.html -------------------------Update---------------------------- Per my test, ...


0

We cannot change SharePoint’s behavior on rending data in a list. “The time-consuming operations”, as you mentioned, is the filtered views with column indexes (and other operations) creating database queries and retrieving data returned. You can see the section "What happens behind the scenes when you access many items in a list or library?" in ...


0

I assume you set the Email notification in a task list advanced settings. And if the user does not receive E-mail, we can first check if the Email works properly in your tenant. Have a try to send an Email to the user with issue. Also make the user to check the Junk, make sure the Email has not been blocked by the Mailbox. You can also test to create a new ...


0

Event receiver is not a powershell script, it is a custom solution for handling certain actions in SharePoint. You will need development skills to write codes in VS to do it. By creating event receivers, you can respond when a user interacts with SharePoint items such as lists or list items. For example, the code in an event receiver can be triggered when a ...


0

There is no workflow trigger for "On permissions Change" do xyz. The only triggers are related to list items or documents. I'm sure that there is away to do this with a custom event receiver or something like that, but Workflow will not meet your needs in this case.


0

You can only assign the task to a specific person in this field. Per my test, groups are not allowed in this field as it. Here is an article for you about valid values can be typed in when creating an OOB 3-state workflow: https://support.microsoft.com/en-us/office/use-a-three-state-workflow-bb91586e-99a2-4cf7-b810-998b5120a6e0#bm3


0

Per my knowledge that multiple users are not allowed for the field. If you have no access to SPD I am not sure if you have other options. I tested with custom AD groups and it does not get resolved. You can have a try with it.


0

This is by design. There is no standard way to have multiple versions of the same solution available side by side. Assets are hashed so that when new version of the package is deployed, all clients use corresponding assets instead of the previously downloaded and cached ones.


0

1.Make sure that you have filled out all the fields which are required fields. 2.Which the browser are you using? Please go to another browser then have a test. 3.Try to create a new custom list, add new item, compare the result. 4.Any error messages?


0

No, the custom javascript/html based form only works for classic view. It would not work in modern view. The best way is using powerapps to custom the modern form: https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/gateway-management


0

I don't think we could achieve this using workflow and InfoPath. I suggest you insert a repeating section to include the person and choice field. Then insert multiple items in one form manually. More information for your reference: https://support.microsoft.com/en-us/office/insert-a-repeating-section-2b72cf6b-3a16-4e60-ba60-56fbfcadb5a6#:~:text=%2BI%2C%20C.-...


0

As a workaround, you could set alert in the list to remind the administrator of the page that there is a new item added in the list.


0

You can ask admin to create security group and send email through SharePoint send email utility. However, If you again want to send email to a outlook DL without using GraphAPI or Outlook APIs then you can trigger a HTTP trigger flow from your sharepoint page and send all Email, Body, Subject as payload and then use O365 outlook action in flow.


0

If you have Visio installed on your client you can generate the diagram from there. http://en.share-gate.com/blog/how-to-build-an-inventory-before-sharepoint-migration Similar issue: https://social.technet.microsoft.com/Forums/Lync/en-US/bcb22e97-eac3-47e7-9936-57bc59a61400/sharepoint-site-hierarchy-diagram?forum=sharepointgeneral


1

As part of this I have had to download the wsssetup.dll file and put it in the updates folder. This isn't necessary with SharePoint Server 2013 w/ SP1 ISO. The English install of SharePoint Server only includes LCID 1033 (en-US) variant of English. You should install Windows Server using LCID 1033, SharePoint, then install the SharePoint Language Pack(s).


1

Content editor web part won't work with Modern view...Customizing the default list form with what you need is only possible with a classic view where you can add javascript/HTML. For the modern view - this kind of customization is not possible, you will have to build a form using SPFx web part to achieve this. Another alternate way would be to have the ...


0

I was experiencing the same issue where the configuration wizard would fail at: "Failed to register SharePoint Services." Following Steve's suggesting I also found that the Net.Tcp Port Sharing Service was disabled. I enabled it, re-ran the sharepoint configuration wizard with this powershell command: psconfig -cmd standalongconfig It ...


1

You are missing PermissionsString in your code. As per the reference you provided, you can add any permission type from the below list based on your requirement: FullMask EmptyMask ManagePermissions ManageSubwebs ManageWeb AddAndCustomizePages BrowseDirectories ViewPages ManageAlerts Read more about SharePoint Base Permissions at SPBasePermissions ...


0

1.Create a new form in the InfoPath, insert a repeating section in the form, then insert three text box in the repeating section. 2.Publish the form to SharePoint list. 3.Click Insert item, result as following picture shows.


0

Have you installed any patches recently? Anyway,Either add the safecontrol to your config file or update the SearchResults.aspx page layout's top section. <%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c"...


0

You can use MS InfoPath to customize your form with Repeating table. Reference: https://support.microsoft.com/en-us/office/add-repeating-data-controls-2e9994d5-6cc9-4840-b23b-796f1ab9c58f https://support.microsoft.com/en-us/office/insert-a-repeating-table-e313db25-fbd6-4dcd-b874-60c0b377c574


0

can you check the .yo-rc.json file can you share what is the value for environment? If it is set to "spo" change it to "onprem" if you want to use your solution in SP2016, SP2019 & SPO environments. In case you wish to use it only from on premise 2019 use "onprem19"


Top 50 recent answers are included