IntroductionThe purpose of this article is to explain how to edit document with Adobe PDF in sharepoint when it has used secured http protocol (https://) to the sharepoint portal.I have one farm with SharePoint 2010 installed and all the configurations to customizations and add the icon to open the Adobe Acrobat Document the Client Side, this Farm use the " http:// "protocol and everything work fine and nobody complains, life run happy . Then I have other configurations Farm The Same but with the only difference is protocol to web application using " https:// ", every time I try to edit the PDF File ... always return error?!   After this problem I tried to investigated about the configurations Trying to identify what I did wrong using the " OpenControl "action in the Mapping to 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, After I received this error tried to Associated Understand what this Action in the popup menu "Edit in Edit Document" is doing, I used the Internet Explorer Developer Tool, this tool cam with Internet Explorer and will help identify bad references JavaScript and CSS and made change on some real time properties of html, this Can be fun if you want to make some security validations, I found big security leaks Already Sites in just working 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 ')
Then I try to change the action command with a parameter "in red", will check out the Document in the draft local computer and open in Adobe Acrobat and the Client Side Worked 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 http://msdn.microsoft.com/en-us/library/ms473643 (v = office.12). aspx 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 If you access again to the Document Library is the Document Check Out, takes the changes made in Adobe Acrobat file, you will need to check in to shared with users. Hope you like it. |