0

Create folder in list using workflow

For workflow being able to create folders, you need to assign the folder content type to the list and then create new item from workflow using folder content type.

Add folder content type in list

  1. Open the list in an internet browser. There will be an option bar at the top.
  2. Select “List” and choose “List Settings” in the new ribbon.
  3. Click on “Advanced Settings”, activate the option “Enable management of content types” and click on “OK”.
  4. Back to the list settings.
  5. Click on “Add from existing content types”.
  6. In the new page, select “Folder Content Type” from the dropdown menu.
  7. Add the content type named “Folder” to the list content types by selecting it and clicking on the arrow pointing to the right.
  8. Click on “OK” to save the new assignment.

 

Now folder content type is added in list. Now create workflow on list which will create folder in list

Create folder using workflow

  1. To create a folder, choose the action “Create a list item”.
  2. Click on action to fill more information.
  3. Choose the list where the folder shall be added from the dropdown field.
  4. If your list has multiple content types, a field to assign a value to, will automatically be added. It is called “Content Type ID”. If it is not present, click on “Add” to add this field.
  5. Select “folder” from dropdown.
  6. Set title field for folder name.

 

Now your folder will be create through workflow. Folder can also create in document library through workflow by same procedure.

8

URL & Locations in SharePoint

In this blog i am sharing some important URLs and Locations in SharePoint which can help developer as well as administrator to access resources easily.

 

1. Sign in as a different user
/_layouts/closeConnection.aspx?loginasanotheruser=true

2. Change Site Master Page
/_layouts/ChangeSiteMasterPage.aspx

3. Page Layouts and Site Templates
/_Layouts/AreaTemplateSettings.aspx

4. User Information List:
_catalogs/users
_catalogs/users/simple.aspx

5. Sandboxed Solution Gallery:
/_catalogs/solutions/Forms/AllItems.aspx

6. All site content page (Site content):
/_layouts/viewlsts.aspx

7. Site settings page:
/_layouts/settings.aspx

8. Site collection features(CASE SENSITIVE):
/_layouts/ManageFeatures.aspx?Scope=Site

9. Site features:
/_layouts/ManageFeatures.aspx

10. Get the version of the SharePoint server (Patch level):
/_vti_pvt/Service.cnf

11. Web Part Maintenance Page:
?Contents=1

12. Save Site as a template
/_layouts/savetmpl.aspx

13. Master Pages library
/_catalogs/masterpage/Forms/AllItems.aspx

14. Master Page Gallery
/_catalogs/masterpage

15. Site Column Gallery
/_layouts/mngfield.aspx

16. Site Content Types
/_layouts/mngctype.aspx

17. Managed Metadata (Subset used terms on site) -Added by DAMIAN
http(s)://[url]/Lists/TaxonomyHiddenList/AllItem.aspx

18. Test Sample Page (If trouble with username in site) -Added by DAMIAN
http(s)://[url]/_catalogs/users/simple.aspx

19. Site Manager (Site Structure) -Added by HUGO CARREIROS
/_layouts/sitemanager.aspx

20. Save site as Template (Office365)
/_layouts/15/savetmpl.aspx

0

Enable Geo Location column using PowerShell in SharePoint 2013

To integrate maps and Geo Location in SharePoint, Geo Location column has been provided in SharePoint.

Which will not visible by-default. We can add this column in particular site, web or list.

One thing i need to specify that SharePoint 2013 uses Bings Maps to render the map of the location stored in Geo Location column.

To add Geo Location column we need powershell with admin user login.

Create PowerShell script add following code and save as demo.ps1

$fieldXml = “<Field Type = ‘Geolocation’ DisplayName=’Geo Location’ Name=’geolocation’ Group=’custom fields’/>”
#get spweb object
$web = Get-SPWeb “YourSiteName
$web.Fields.AddFieldAsXml($fieldXml)
$web.Update()

In this Code replace “YourSiteName” with your “site url”. You can also change display name of column.

Now run this PowerShell script. Geo Location will be added in your site column. Now you can add this column in your list/library.

Thank you for reading.

Code, Play and Learn…