Tuesday, July 19, 2011

Edit Adobe PDF files with Document in SharePoint how?

This article aims to explain how to edit a document in Adobe PDF format when SharePoint is provided via the http protocol (https) is one of the company portal. I SharePoint SharePoint 2010 installed and all configurations of adjustment and to open the Add icon Adobe Acrobat document the client side, the Farm and use the protocol "http://", and they all work well and no one complains, a happy life.

 So, I have other configurations of the same firm but with the only difference is the protocol for Web applications using "https" when I try to edit a PDF ... always return the error?!

After this, I tried to check whether the configurations try to identify what I did wrong to use the mapping "open control" action for PDF files.

Also I set the central administration in the General Settings of the Web Application to use the " Browser File Handling "to" permissive "but this action will only open the PDF file in the browser, open the main question is the" Adobe Acrobat "File Client Side is the edition, example: PDF Signatures.
But nothing work,

When I received this error when trying to understand what this Associated Action pop-up menu "Edit Edit Document" is doing, I used Internet Explorer Developer Tool, this cam tool in Internet Explorer and helps to identify incorrect references to JavaScript CSS and do change some of the real-time features of HTML, this can be a fun, if you want to do some 'security validations, I found a great lack of confidence in the sites only work with this tool.

The command action with parameter 0 "in red," will open the Adobe Document the Client Side but with error.

EditDocumentWithProgID2 ('/ Teste/Revista_PROGRAMAR_26.pdf','', 'SharePoint.OpenDocuments', '0 ',' http:// [site] ' , '0 ')

 I try to change the action command with a parameter of "red" refers to the document in local team and the project open in Adobe Acrobat and worked on the client side smile.

EditDocumentWithProgID2 ('{ItemUrl}','', 'SharePoint.OpenDocuments', '1 ',' {} SiteUrl ', '0') return false;

This site will help you configure the Custom action using some tokens to set the URL Action URL
How to: Add Actions to the User Interface

Create a new Feature for the new custom action to Edit Document

After create the Feature element.xml associate one file, this file are defined the Custom Actions Associated to our SharePoint site.

After I deploy the solution to access the Document Library and the new option "Edit Document" appear.

After I deploy the solution to access the Document Library and the new option "Edit Document" appear.

Then I select new option "Edit Document" Asking to check out the PDF File and open the Client Side, done

I Hope you like it. this Aritcel


No comments:

Post a Comment