I have a file being picked up externally which I've been told has been deleted by the author.
If I go into the Media section on the server I can find the folder with the id 343565 which has the "deleted" file in it.
There is a deep folder tree in our Media section when using the Umbraco backend, is there an easy way to search in the back end using the 343565 id to find it so I can check whether it has been deleted?
It would be useful to know how to do this in v7 too (if it is different) as I will be upgrading to v7 soon
Unfortunately, that id doesn't relate to the media id.
If you are using v6 or v7, you can use Examine to search the for folder id in the umbracoFile field.
Go to the Developer section
Select the Examine Management tab
Open the Internal Search under the Searchers section
Paste this into the search box: umbracoFile:/media*343565*
Select the Lucene Search radio button
Search
That should bring up the media node and from there you can get the id, path, etc
Related
Is it possible to use the microsoft graph api to get the id of a folder within a sharepoint document library? If so, how?
I can see in the documentation that I can get the path of a folder and/or file, and make queries based on this path. But what I would like is to get an id, so if the folder and/or file ever changes name, I can still query that specific folder and/or file. Is this possible?
Specifically, I am creating an internal dashboard for my employees. We have a Folder in a sharepoint document library called "Contacts". Within this "Contacts" folder we have n number of subfolders such as "John Doe," "Jane Doe," etc. If an employee is viewing the information for John Doe within our internal employee dashboard, I'd like to display the any child folders and/or files of John Doe.
Again, all I can find in the graph api documentation is how to query based on the relative path. I'd like to be able to use the API to get an id for any folder and/or file, as well as to return any child objects of any folder using the id (and not the relative path). How can I do this?
Yes it is possible. You should use the below query
https://graph.microsoft.com/v1.0/sites/{siteid}/drives/{document libraryid}/items/{folderid}/children.
If you want to get the folder id use this call
https://graph.microsoft.com/v1.0/sites/{siteid}/drives/{document libraryid}/root/children and get the id of the folder
We use extensively (from an application) in the Document List API the fact than a file / document can be assigned to more than one collection, in order to work in a similar way that labels. Has this been deprecated? At least from the web user interface, only one folder can be assigned to one file.
Working fine here and multiple collections can be successfully assigned.
Right click a file, Choose "Organise" and check the box next to each collection you want the document to be a part of.
I am using Web Part Connections to filter documents in a documents library in SharePoint. To do this, there's a column that is required, which I've named "related contact." Here's my problem: When I go add a New Folder (instead of just a document) SharePoint only asks me for a title for the Folder. The "related contact" column (which is required for the documents) doesn't even appear. Since the info on that column is empty, web part connections doesn't see the folder at all. Is there any way to make the Folder ask for another field at the time of creation?
Thanks
-V
Did you try creating a new folder content type with those required fields and trying to use that (and perhaps turn off the standard folders)?
Perhaps this page will help you: SharePoint folders and metadata.
Folders are one-dimensional. They are virtual containers for your documents, but aren't objects in your library that contain actual metadata.
Instead of using folders, I would recommend adding a column to your library that would mimic the names of the folders. From there, you can sort/filter/group/query the contents of that library. If users are sticklers for the folder structure, you could create a View that groups the documents by that new column, which would give you the appearance of folders.
How do I get an existing Document Type to show up in the Create dialogue of Umbraco 4.
I installed the BlogForUmbraco4_1.0.0 package, which I realize tries to install as the primary site, but it also installs all of the necessary Document Types, including Blog, and BlogPost. Why are they not an option when creating a new item within my site.
Umbraco uses a permission based Document Type Hierarchy, to ensure that editors doesn't create weird page types in wrong places (like a 'Homepage' beneath a blog or a 'News Item' inside a Gallery).
So you'll need to allow the Document Type that you wish to appear in your create dialog to the Document Type of the page you're using as the parent (this might sound like non sense ;-)).
So, say that you've imported the Blog4Umbraco package and wants to allow a blog below a Home page, you should find out which Document Type that home page is (look at the properties tab on the document and look at the 'Document Type').
Go to settings section and open Document types and click on that doc type (let's just say it's called 'Homepage')
Click on the 'Structure' tab and you'll see a list of all Document Types in your install. Some of them are already checked and those are the ones that are allowed beneath that type. To allow blogs, simply check the 'Blog' document type as well :-)
I have a document library with a workflow that dynamicly sets user permissions to edit these documents when certain criteria is met.
The users who need to edit these items are not the brightest users, so to make it failsafe and simple for them I am customizing the DispForm.aspx to only show 2 fields in the Document Library.
"Document" - Name of the document which is a link that opens the document in MS Word.
"Done?" - Yes/No tickbox.
The user gets an e-mail when they have a task assigned; the e-mail contains an URL to the custom DispForm.aspx, the user clicks the link and voila, they see the customized DispForm.aspx with only 2 fields, they know exactly what to do because they won't get distracted by an information-overdose and the only thing the user has to do is click on the document so it would open in Word, user makes changes to document, saves, ticks "yes" in the "Done?" tickbox and the next workflow starts.
Now I'm having this particular problem, when I customize the document library's DispForm.aspx in Sharepoint Designer and add a custom Sharepoint control (Custom Document Library listform) it does not contain the Name field (which contains the URL). I can manually add that link in Sharepoint Designer but then the document gets opened in the web version of Word and if the user wants to save it, it saves to the local harddrive, instead of the Document Library.
What am I doing wrong? How can I include the right URL to a document in a customized DispForm of a document library which opens the document in Word and saves to the Document library and creates a draft version?
Suggestions, tips or other solutions VERY welcome!
Erik
Currently using: MOSS 2007, Nintex, Sharepoint Designer
I wrote a blog on how to get an External Link for Editing a SharePoint Document. Maybe that can help.