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.
Related
I have a Visio doc that has ~200 links to a collection of Excel spreadsheets. I have the spreadsheets but the Visio links point to a path that is inaccessible. I would like to change these. Using Visio Plan 2.
By a lot of experimenting the only way I could find was to open the doc, tell Visio to update the links, then when it failed go through the links in the convert dialog that appeared.
This dialog isn't very helpful as the file path is all jammed into a small text box with no resizing controls. Fortunately, I could see the end of the filename and that was sufficient for me to determine which file was for each link.
I had to edit each one of these entries individually as one can't group select and edit in this dialog.
Pain that it was, I did get the links hardcoded to another location, so at least that aspect works.
However, I need to have these as a relative location so that the vsd and xls files can travel together and any other user can open the vsd no matter the location, just so the vsd and xls are in the same folder.
I can't find a way to do this. I tried prepending the file name with '..\filename', Visio complained but I went through and edited all of them, saved, but it failed to find them when I re-opened the document.
How can I make a relative path in these? Is there an easier way to edit the links?
Thanks.
Call "Links" window via pane "Tell me what you want to do"
I'm currently working with the OneDrive API to get files from a users OneDrive.
I need to be able to display a file from OneDrive dynamically, depending on what element a user clicks on.
I Know that I can go into my OneDrive and get a Embedded Link that I can use to display a file from my OneDrive, but this is not what I need. I attempted to use the Embedded Link combined with data binding but the link requires a authorization token unique the initial embedded link.
Essentially I want a user to click on a element corresponding to a OneDrive element (eg a file or pdf). Then have file will display in a IFrame on the page.
For Office documents, you can use the webUrl property from a DiveItem. This URL will open the document in the editor associated with that file type. For example, navigating to the webUrl for a .ppt file will open that document in PowerPoint Online.
For other files, the webUrl property simply points to the file itself. What happens when you navigate to that address will depend on the file type and what applications you have installed. Navigating to a .pdf generally will show that file in the browser (most browsers support PDF) but other files may not have an application and therefore just download to the local machine.
You can open the URLs into an iframe but be careful to ensure you're UI is taking up minimal screen area. Also make sure you're page is responsive so users can use the app in a smaller window and/or mobile device without your UI eating up so much canvas that they can't see/use the document itself.
here is an example of a creation of an edit link in onedrive, you can change the type of edit to embeed to get what you want, this is in php utilizing laravel, the graph api with the docs https://developer.microsoft.com/en-us/graph/docs/api-reference/v1.0/api/item_createlink
public function getEditableEmbeed($itemid){
$this->refresh();
$file = $this->getGraph()->createRequest("POST", "/me/drive/items/".$itemid."/createLink")->attachBody('{ "type": "edit", "scope": "anonymous"}')->execute();
return $file;
}
I need to create a Word document that includes information I also have on a web page. Ideally, I want to prevent duplicating the information, so would like to put the URL of the web page, and have Word "expand" the URL into the actual text from the web page.
If the Word file is opened offline, then the reader sees the contents of the web page as they were when the word file was created.
IF the Word file is opened online, than attempt to update the contents with those that are on the web page.
Sure its possible, but I think you'd need to write and install a VSTO AddIn (or possibly a macro) to do it.
I like to have a main page Web part with a link to each one of the shared documents in our portal.
The problem is that they are from different libraries and also I want the SharePoint to keep track of check in and check outs of the files. When I use, Content Editor to add the links, and then click on the list, it download a copy of file and saved changes do not change the original document.
I thought about creating a modified view in that specific library and filter out just one file. Then put that file in the front page. But, the first problem is that the file is 2 or 3 level deep in hierarchy. Also, even if I manage to do that, what should I do about different files in different libraries?
Please Advise
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 :-)