New answers tagged

0

This may be difficult to do now that you already have thousands of records in both lists. The best way to relate lists together in SharePoint is via Lookup Columns. Think of Lookup columns kind of like a foreign key relationship in a database. But unlike a foreign key, its not something that you add to an existing column, it is a separate type of column. ...


0

Let us understand what is the use of list template - if we want to replicate the same list structure along with the data in another site, then simple and straight way we create the list template with the data, then using that template we can create a new list. Another use of template is, if we don't want the data, just need the structure of the list, then ...


0

You could use SharePoint Designer to add the person type field to the approval workflow. Like this:


0

Run the wizard to reconfigure config data base in wfe that hosts the central admin site .This was the solution for me


0

Can you check whether the user has permission in Master Pages and page layouts library. Check the permission in this library at the root site collection and grant them the specified permission level accordingly - at least read permission. If user has Full Control permission but doesn't have access to the this library, sometimes user faces issue to create ...


0

As mentioned in below to links: Create content type using REST Content type id ignored when using sp.web.contenttypes.add Content types are very broken in REST API and one sould not use REST to do anything with content types. So, I will suggest you to use the JSOM to create a content type where you can easily mention the Parent content type using ...


2

I could reproduce your issue on my SharePoint 2019 farm. The default value of the managed metadata column would not be displayed when new item. Also, I find something interesting: I do not make the column mandatory, but give it a default value. When creating a new item, I leave the managed metadata column blank and click save. The managed metadata column of ...


0

As Yayati said, searches not only for one particular list column. You can construct queries that use property restrictions to narrow the focus of the query to match only results based on a specified condition. eg: if the managed property of item column is "item", you can search with: item:344 Property restriction queries in KQL for your reference: ...


0

Did you add these 20 users after adding the AD group to SharePoint? If yes then perform an IISRESET to clear the Token Cache. This will force SharePoint to reload and resolve the AD group. See the answer below for more details on the Token Cache. Why are user permissions set in AD not updated immediately to SharePoint?


0

With SharePoint 2013 organization chart is not turned on by default. After you enable the Portal Layout feature as Mohamed suggested, each user can browse to their MySites and then click on Sites from the top Right hand corner and choose to customize this page->Add Web Part -> Under Social Collaboration ->add Organization Browser web part.


1

The following code for your reference. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <div class="topnav" id="myTopnav"> <a href="javascript:void(0);" style="font-size:15px;" class="icon" onclick="myFunction()">&#9776;</a> </div> <style> body {margin:...


0

Go to site settings->site permissions->check permissions,check if these 20 users have permissions in this site. Check if the issue still exists when you directly add users to the SharePoint Group or site.


1

I was able to figure this out. Set DenyAndAddCustomizePages to false, run the code and if required, set it to true again.


0

Ohh, well , the answer is : this.ViewStateMode = ViewStateMode.Disabled; feel sheepish


0

Sometimes it happens that, when you create the Modern Site, it takes a while to configure all the security settings.


0

It's by design! the Organization Browser is removed/hidden by design in SharePoint 2013. To enable it back, Try to browse this URL http://<my site>/organizationview.aspx Or enable the Portal Layout feature by runing the below cmdlet Enable-SPFeature –Identity PortalLayouts –url http://<my site> –force


0

Most API calls do not differ between referencing a host-named site collection versus a "regular" site collection, since you specify the absolute url of the site to initiate a ClientContext. If you have not used the SharePoint CSOM before, you will need to get the nuget package. To upload a file to a document library using the c# .NET Client-Side Object ...


0

Not sure, in which version of SharePoint you looking for but in SharePoint online and SharePoint 2016 /2019, we can easily get the list template Id using the PnP command. Use the below PnP command : $allLists=Get-PnPList foreach($oneList in $allLists) { #Using the $oneList, get all the individual list property. } This will list out all lists from the ...


0

The search box at list view web part searches not only for one particular list column whereas it searches if the input value is in any of the indexed columns in that list. If you want your search to take only Item ID as input and show results based on that then you need to insert another search results web part with custom search query in query builder and ...


0

Per my knowledge, we cannot update SharePoint Calendar in Outlook. You can only view the SharePoint Calendar in outlook


0

You can also use the code below to achieve it. <script type="text/javascript"> ExecuteOrDelayUntilScriptLoaded(myPopUp,'sp.ui.dialog.js'); function myPopUp() { var lsDate = localStorage.getItem("lastConnected"); var tDate = new Date().toDateString().substring(4); if ((lsDate == null || lsDate == undefined) || (lsDate != tDate)) { ...


0

Add the code below into script editor web part in edit form page to achieve it. <script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script> <script type="text/javascript"> function PreSaveItem(){ if(!$("input[name^='Messaging']").is(':checked')) { alert("Please Check Message Field."); ...


0

After googling, this worked for me $(document).ready(function() { SP.SOD.executeFunc('sp.js', 'SP.ClientContext', showModalPopUp); }); function showModalPopUp() { //Set options for Modal PopUp var options = { url: '/sites/HOL/Pages/Custom-Publishing-Page.aspx?IsDlg=1', //Set the url of the page ...


1

As you have not mentioned any conditions, I am assuming there are no conditions and you want your users to select either Yes or No for Messaging field. OOTB Solution: You can set the Default Value to your column so that it will always be selected either to Yes or No. You can set the default value of column from column settings. Code Solution: ...


0

If you have an older version of PnP-PowerShell, you may have to perform an update, but as of the February 2019 release, ConvertTo-PnPClientSidePage supports the switch parameter -CopyPageMetadata to do exactly that without need to write any additional code to loop through metadata values. https://docs.microsoft.com/en-us/powershell/module/sharepoint-pnp/...


0

If you had previously given the user permissions under the "old" account, and need the user to be able to access the same sites with their "new" account, you need to run the move-spuser PowerShell cmdlet to tell SharePoint that those two accounts belong to the same user.


1

The following example below for your reference. <script src="https://code.jquery.com/jquery-1.12.4.min.js" type="text/javascript"></script> <script type="text/javascript"> var cacheNavData = []; var cacheSubNavData = []; var cacheMegaMenuData = []; var cacheCategoryMenuData = []; $(document).ready(function() { getData("Navigation").done(...


0

teylyn is missing the point. I have sharepoint 2013.after i hit the spell check at the top of the add for the title entry totally went missing. It looks like a bug in the system. I have heard of editing the item after you add it but the issue is how to get the form back to its original appearance.


0

Try to follow the below work around for this issue : Move the documents to a new folder inside the document library from Site Settings-> Content and Structure That way they could be opened. But if I moved them back, they did not work again, like the link was broken. Temporarily left the files in the new folder Set the site and library to be reindexed with ...


1

There's no hard and fast rule for SharePoint; and the mantra of 'unused RAM is wasted RAM', however I personally wouldn't run with >70% utilization in order to absorb any spikes in usage.


2

Make sure your custom page/layout is published as a "major version", and potentially if content approval is enabled, then also make sure your changes are "approved". Typically, if privileged users can see your changes while unprivileged users cannot, it is one of those two things or both.


1

Try using your code in below format: var cacheNavData = []; var cacheSubNavData = []; var cacheMegaMenuData = []; var cacheCategoryMenuData = []; $(document).ready(function() { getNavData("Navigation").then(function(listData) { cacheNavData = listData; }, function(error) { console.log(error): }) ; }); function getNavData(lName) { ...


0

This is the known issue in SharePoint out of the box workflow because it sends the item URL directly which only opens in the browser and there is no configuration for out of the box workflow form template. As an alternate solution you may develop your own workflow to do the same where you can configure the template form as we need. Here is details answers ...


0

We can add the CSS style below into a script editor web part in new/edit list form page to achieve it. <style type="text/css"> input[id$='NumberField']{ width:386px !important; } input[id$='CurrencyField']{ width:386px !important; } input[id$='DateTimeFieldDate']{ width:360px !important; } select[id$='DropDownChoice']{ width:398px !...


1

Here is a way I achieved this goal using powershell. https://github.com/ggjames/sharepoint/blob/master/ForceUpdateListItems.ps1 Instruction 1. create a column in your list as [Today's Date] 2. Setup this powershell into task scheduler, and set the trigger frequecy as you like Add-PSSnapin Microsoft.SharePoint.PowerShell $SPWeb = Get-SPWeb http://abc.com/...


0

Try to follow the below steps : Start Sharepoint Designer and open up the corresponding view (AllItems.asxp, here) Note : here it is AllItems.asxp, you can select any form like new, edit aspx AllItems.asxp Make sure the view shows up in design mode : Design mode Right Click anywhere in the view and select the menu option “Convert to XSLT Data View”: ...


0

Add a content editor webpart in your page and add the below script, <script type="text/javascript" src="https://code.jquery.com/jquery-3.4.1.js"></script> <script type="text/javascript"> $(document).ready(function () { ExecuteOrDelayUntilScriptLoaded(processForm, "sp.js"); function processForm(){ $("select[title='Division ...


0


3

Instead of doing all such code, you may use this workaround. Remove all your code Modify your view Enable Edit (link to edit item) under the columns group Your view will be enabled with direct link to edit icon You can propose this solution. Else, If you really want to link the Title field to edit form You can add a script in DispForm.aspx and redirect ...


3

The reason the CSS is not correctly applied is, that the pages you are referring to are rendered using the new modern experience in SharePoint 2019. The problem with it is, that CSS injected as a delegate control (like yours) are ignored on this kind of page. There is practically no easy way to inject CSS directly into the page. But since you are on-premises ...


2

Using JQuery like this will not work as this code will not execute again on pagination. So, I will suggest you to use the Client Side Rendering like below: (function () { function registerRenderer() { var ctxForm = {}; ctxForm.Templates = {}; ctxForm.Templates = { Fields : { 'LinkTitle': { //------ ...


1

Two things: You can't remove Project Server, but you can delete the Service Application and verify the Service Instance is stopped. Licensing isn't why you're having this issue, rather it is due to the dbo mapping on the content database(s). I blogged about that at SharePoint Server 2016 Project Server Public Update Issue but the gist is that you need to ...


2

OOTB, SharePoint doesn't gives an option to do it. but using Javascript we can achieve it. Considering that Users who can mark Status as "Closed", lets have them in a separate SharePoint group, then user who doesn't belong to that group will not have an option "Closed" in the SharePoint edit form. Use the below code in your Edit form, <script type="text/...


1

SharePoint does not support column level permission settings. If a user has permission to edit the list item, then he can edit all columns. The only way to avoid update from certain users is to only grant them read permission. More information:Understanding permission levels in SharePoint


0

You can try to use the following REST API to achieve it. /_api/Web/Lists/getByTitle('MyForms')/Items?$filter=substringof('0x010101008801EC40791D47909E988DEB1A1B9EFD006D679758256E403D9B766451FDA53DBF',ContentTypeId)&$top=5000


0

Use jQuery to get list item count and init for Auto-Increment Field, this can avoid item delete. Insert script editor webpart into list new form and insert the script into script editor webpart(Update the TxtField to your field name). <script type="text/javascript" defer="defer"> var site = "site Name"; function pad(n, width, z) { z = ...


1

Go to the "/_admin/FarmServer.aspx" page from the central administration and if we have multi severs farm – check the upgrade status for each server in the farm like the below screen: Notes: In this page for all servers in the farm should be upgrade is not required. If the upgrade is required, please upgrade them one by one. If it showed upgrade blocked, ...


0

Navigate to the central admin web app Click on Manage Service Application Click on the UserProfileService Application On the top ribbon, click on the Administrator and add yourself with Full Control. Also on the Top Ribbon, click on Permissions, add yourself, and give Full control here as well. If this step is not completed, you will still be receiving ...


1

Unfortunately, your requirements can't be achieved using column validation. Please check this article: https://spgeeks.devoworx.com/supported-fields-in-calculated-column-sharepoint/ The Choice field with Checkboxes (allow multiple selections) is not allowed in the SharePoint Validation Settings and the Calculated field.


Top 50 recent answers are included