asked Jul 10, 2019 at 20:01
As a reference you can skim through Microsoft’s little guide on customizing site permissions; the layout might be different in your environment but for the most part setting things up with groups and having specific sites is the way to go.
answered Jul 10, 2019 at 21:22
3 bronze badges
You want to prevent this from happening, only through permission settings.
answered Jul 11, 2019 at 7:58
- SharePoint 2010 root directory
- Popular posts from this blog
- PAGE NOT FOUND ERROR PAGE IN SHAREPOINT 2013
- SharePoint useful JavaScript objects, functions
- Required Flow Action
- Required Input Parameters
- Create Folder under Root Folder of the Document Library
- Create Folder under Sub Folder of the Document Library
- Setting default field values via the SharePoint interface
- Setting default field values using PnP PowerShell
- Default fields configuration
- Why you may need to know this?
- Post navigation
SharePoint 2010 root directory
Below are some
sub directory and the type of template files it contains:
This directory contains all the Resource files
(.resx). This is the ideal location to deploy your custom Resource files if you
are using any.
This directory contains Feature definition
files (.xml).
This directory
contains Images (.gif, .jpg, and .png) and if you have to use custom images
then you can create a sub directory and put your custom images.
This directory
contains Application pages (.aspx).
This directory
contains Silverlight components (.xap).
This directory contains Site Definition files
(onet.xml).
This directory contains Custom field type
definition files (fdltype*.xml).
This contains the
help files.
Popular posts from this blog
PAGE NOT FOUND ERROR PAGE IN SHAREPOINT 2013
SharePoint useful JavaScript objects, functions
Required Flow Action
Required Input Parameters
- Site Address
- Relative Folder Path
- New Folder Name
Create Folder under Root Folder of the Document Library
_api/web/GetFolderByServerRelativePath(decodedurl='Shared Documents')/Folders
accept : application/json;odata=verbose content-type : application/json;odata=verbose
{ '__metadata': { 'type': 'SP.Folder' }, 'ServerRelativeUrl': 'Shared Documents/New Folder'}
Create Folder under Sub Folder of the Document Library
You just need to provide the relative path of your sub folder in Uri and request Body, other parameters are same.
_api/web/GetFolderByServerRelativePath(decodedurl='Shared Documents/Sub Folder')/Folders
{ '__metadata':{ 'type':'SP.Folder' },'ServerRelativeUrl':'Shared Documents/Sub Folder/New Folder'}
Note: Ensure that your Sub Folder was already created, in my testing the flow runs continuously if the sub folder not available in the specified location.
_api/web/GetFolderByServerRelativePath(decodedurl='DocumentLib1')/Folders
{ '__metadata':{ 'type':'SP.Folder' },'ServerRelativeUrl': 'DocumentLib1/New Folder'}
when you use Column default value settings, you see all the fields available in your list, which you can define defaults for
on the right you have a column Used In, meaning that the default will be applied to that content type
folder, is itself a content type. if an item based on folder doesn’t have the Entity Type field, then that field will not be available and therefore not visible or filterable
it seems you added the Entity Type as a list view field, and as a field for the document content type, but you’re missing the folder content type.
defaults work just as well in folders but you just have to ensure that the field exists in the folders as well
one way is to create a new content type that inherits from folder and that contains Entity Type. then create new folders (which will be pre-filled with your default), or edit the existing folders properties to setup their field values (defaults are only applied on creation)
depending on what you’re trying to accomplish, it may or may not make sense to have the field in both document and folder content types
anyway, hope this helps.
the other answer is pretty much related to this, I just felt like adding some extra details based on personal experience
This week I read Jeffrey’s post on how you can update a list item located in a sub folder using the RootFolder attribute on the UpdateListItems method of the Lists.asmx web service.
It seemed interesting enough to me to get this working in the U2U CAML Query Builder (windows version and feature version) so I started to implement it but I discovered that the truth about RootFolder is not as simple as it seems from this post.
<Batch OnError=»Continue» PreCalc=»TRUE» ListVersion=»0″ RootFolder=»Lists/Contacts/Work»>
<Method ID=»1″ Cmd=»Update»>
<Field Name=»ID»>47821</Field>
<Field Name=»RefID»>479485</Field>
<Field Name=»CustomerNumber»>59613</Field>
</Batch>
I think that this code works because a valid ID is specified (in which case you even don’t have to specify a RootFolder attribute: the item located in a sub folder can be updated specifying a valid ID). When I try this out without an ID I get an «Invalid URL» error.
The first thing I found out is that you have to make a difference between a list and a document library. In case of a list the root folder is indeed Lists, but you have to prefix it with a «/»:
<Batch PreCalc=»TRUE» OnError=»Continue» >
<Method ID=»1″ Cmd=»New»>
<Field Name=»Title»>Gent</Field>
<Field Name=»PostalCode»>9000</Field>
<Field Name=»TelephoneZone»>09</Field>
</Method>
</Batch>
In case of a document library the root folder is the name of the document library, but it also needs to be prefixed with a «/»:
<Batch PreCalc=»TRUE» OnError=»Continue»
>
<Method ID=»1″ Cmd=»New»>
<Field Name=»Title»>Document 2</Field>
<Field Name=»Income»>2500</Field>
</Method>
</Batch>
In case someone disagrees with this or if you have reasons to believe that even this is not complete, please let me know by posting a comment.
A new version of the U2U CAML Query Builder (windows version) will be ready to release end of this week. A new version of the feature version will be released a few weeks later. I keep you posted 🙂
Setting default field values via the SharePoint interface


I then set a default value on the field to “No” for “Folder 1” within the library. Folders configured with custom default values are displayed with a green icon on the settings page.

Setting default field values using PnP PowerShell
Set-PnPDefaultColumnValues -List Documents -Field TaxKeyword -Value "Company|Locations|Stockholm"
Default fields configuration
While working on a client project, I faced an unexpected issue with default field values. Suddenly, the PnP PowerShell command to set the default values started throwing errors. The same piece of code that was working for some days to set multiple fields with default values. It was now returning a message stating that field XXXXXX was no longer available in the list.
I deleted a test field on the list and commented the line of the script where I was setting that field. I could see no reason for a script error relating to that field as the line was commented out.
Checking the default fields configuration in the list settings page also didn’t provide any useful information. Everything seemed to be working fine there.
I then decided to find the place where the configuration is stored. It was likely the cause of my issues.
After some search, I was quite surprised with what I found! The default field value configurations are stored as a client_LocationBasedDefaults.html file. Within the Forms folder of the document library where they are configured.
Why you may need to know this?
In my case, the issues were down to the field that was removed from the list and had default values configured against some folders in the library. Deleting the field did not remove its reference from the client_LocationBasedDefaults.html file, and the PowerShell command was then failing when trying to set values on other fields for that folder. Deleting and recreating the folder also didn’t resolve the problem, so at the end it was just down to editing the HTML file and remove the references to the field previously deleted from the list. And “voila”, the PowerShell command was working again.