I have a document center and a custom content type. I can create the organizer rule and it routes the documents appropriately.
However, the issue that I am having seems to be with the automatic folder creation. When I create the rule, I specify only "%2" for the folder name. The column that I am using is a month. I've tried this two ways, having the value as a number or text, but I get the same issue. The folder is created as 'float; 2.00000000' or 'string; 12' instead of just 2 or 12.
Can anyone assist.
Thanks.
You should never create folder with number. Please use any prefix it will not create this problem. I have also face this problem and this was the best solution I have found for it.
Related
I am trying to create a (2013) workflow in Sharepoint Designer that will set a field (sharepoint column) to the value: 1.
I am trying to have it run only when a new item is created in the root folder. So when a new folder is created at the top level of the document library. And specifically a folder.
I found that folders in Sharepoint don't have a content type - so I added the following If statement to the workflow to deal with that:
If current item content type is empty...
But now I would like to add a condition that says something like
If the current item is created in the top level or root folder or...whatever
I see one of the fields you can select is: "level" - (see attached image). Is that maybe what I'm looking for? Does anyone else know a better solution?
Thanks a lot
Sylvie
I think I might have just answered my own question! I have to make it a Sharepoint 2010 workflow, not a 2013 So I can use the condition: "If Current item: Document Parent Identifier equals (the string for that root folder)" then run the workflow. I guess this field just doesn't exist in SP Designer 2013 workflows.
I had exactly the same issue and I needed to use the SharePoint 2013 workflow. It is also possible by checking the Encoded Absolute URL of the created item. It has to be directly in the root of your list and the URL will contain no extensions, since it is a folder.
Here is the code i had used:
Set Variable: ItemName_UrlStyle to [%Current Item:Name%]
Replace with %20 in [%Variable: ItemName_UrlStyle%] (Output to Variable: ItemName_UrlStyle )
If Current Item:Encoded Absolute URL equals https://abb.sharepoint.com/sites/SiteName/ListName/[%Variable:ItemName_UrlStyle%]
Maybe this will be helpful for somebody.
I have a problem with SharePoint 2013. I'm currently setting up a basic collaboration sceanario with SharePoint. I therefore created a basic document Library whith an additional folder derived content type to be used at the top level of the document library. This content type has some additional metadata. Inside of these specialized folders I want to use standard files and (sub)folders.
At first, I had no problem of creating elements and subfolders inside of my top level folders using the standard buttons (Upload File, New Folder) in the ribbon. However, now without knowing what caused this behaviour, when I try to create elements inside of existing folders, SharePoint always creates new elements at the top level of the document library.
Does somebody have an idea what might have caused this beaviour and how to fix it (without code)? I did not find any solution searching the web. Any Help is greatly appreciated. Many thanks in advance.
P.S. I know that using folders in SharePoint is not recommended in general but I would really like to understand what could have caused the described problem.
I've got this one thing I'm not really sure where to begin with. In our SharePoint 2007 solution, we've got this project room where each employee has their own folders with their resumé etc. And we want this information to be distributed to their MySite.
I've noticed that I can basically copy the files from one are to the other. But the files in MySite are connected to the corresponding user based on properties of some sort. But they are not regular file properties is seems. When I open all of the files in the MySite files collection, I can see categories such as Title and Name. If I copy a file in there, these properties are blank. And if I manually assign a username to the Name property, the file automatically appears in the correct user's MySite.
Probably horribly explained.. But, is it possible to program this somehow? I would like a nightly or weekly schedule that basically copies the content and assigns the username and title to the correct fields. I can pick up both the title and the username based on the folder names. This I can probably solve later. It's just where to begin that's bothering me. Do I use SharePoint designer? Can I user VB code? Do I have to code at all? I've never developed a thing for SharePoint before. And no, I do not want to be redirected to a basic "Getting started with developing for Sharepoint" site.. Just a simple answer really, on where to begin.
Simple answer: Yes you can use VB. Create Timerjobs.
TimerJobs you can set to start on specific weekdays, specific hours etc. and they do exactly whatever you program them to do.
Hi I am wanting to create a little tutorial on how to create a webpart that I have added to one of the website's I have created.
I know that there is the List Templates gallery in which I could use to give this part as a file however I am using Site Columns.
Due to this will this cause errors when importing to a new Site?
Will the user need to create the Site Columns previously and will they automatically be used once importing my Custom List file?
or will when it is imported the column appear?
I don't currently have another site to test this on as yet so was wondering if anyone here already knew the answer for this?
Any light that can be shed on this question is very much appreciated and thanks in advance as well =]
I am totally confused by your question. How are List Templates gallery and a custom webpart related ?
Probably you meant site Template Gallery ?
What you need to do is :
- Create a solution package
- Create two features - one for your custom columns and custom webpart
- Optionally create a list template feature to define the columns in the list.
If this is truly a list template (you created it by going into List Settings and selecting Save As Template), then the site columns, content type, and list schema should all be contained in the manifest.xml file inside the stp file. You should not need to create anything manually to generate a list based on a template uploaded to the List Templates Gallery.
If this is a list definition feature, then you should create features that define the site columns, content type, and the list definition. The users can manually create site columns that match on name, type, and just about every other attribute, except the one that matters most - ID. Each time a site column is created in the browser, it will be assigned a different ID. That ID will not match what you have defined in your list definition.
Is there a way to change the name of a folder within the discussion area of SharePoint 2010? The folder by default is given the name of the discsussion name when it is created, however, if you then change the discussion name, it does not (quite rightly) automatically update the folder name - I would like to though.
Just had a go there, I was able to rename it using SharePoint designer (use the All Files link on the left).
However if you need to do it automatically then you'll have to build an List Item Event Handler, and update the folder name using the API using the ListItemUpdated Event.
Shane