We have a client who is in the process of upgrading from eCM to WCM, In this process, we've identified a plethora of pdfs that are valid content items in eCM, but causing us some issues in WCM. A couple questions along the lines of how users of WCM are handling pdfs, if I may:
- The document manager doesn't work in WCM - doesn't load, doesn't function - or at least not by default. Has anyone tried turning this on for 15.2+? Anyone aware of a timeline for this to be a functioning appendage to WCM that is turned on by default (if it's even on the radar)?
- I'm aware of the Content Link iPart (* see note below), and we will be utilizing this for the majority of the documents. However, how are people handling things like:
- a list of documents
- inline links to a document
- multiple pages linking to a single document
- how are access restrictions to documents handled? just done via a separate content or navigation item?
- * pdfs from the eCM site have an extra line in the Content Link iPart, usually describing the document - I've not seen this before with 'fresh' pdfs. usually the result is {link} on line1 (url to the document and text from the configuration setting) and the text (Adobe PDF) on the second line. however, the output of the eCM uploaded pdf is line1: {link} line2: "unknown description text" line3: (Adobe PDF)
Just trying to put together some 'best practices' for our clients and consultants! Thanks
Turning on Document Manager in WCM
I don't have an answer on when or if the Document Manager will be turned on and supported product, but the activation is easy. The following method has worked in WCM 15.2. I teach it in WCM class.
1. Add a line to the Net\RadControls\Editor\ToolsFile.xml file. The ImageManager line is already there, just add the Document Manager tag.
<tool name="ImageManager" shortcut="CTRL+G" />
<tool name="DocumentManager" />
--- You might be able to create a shortcut for it using the same syntax as for the Image manager, just make sure it is unique ----
2. Edit the C:\Program Files (x86)\ASI\iMIS15Prod\Net\AsiCommon\Controls\ContentManagement\ContentDesigner\ContentHTMLEdit.ascx file. This is how it should look in 15.2. This needs to be reapplied after patches and upgrades, and you may need to adjust the code if future WCM modifies the code.
<asiweb:PanelTemplateControl ID="HtmlFields" runat="server" ShowHeader="false" FieldSet="true" BorderStyle="None">
<div class="AutoWidth">
<asiweb:SmartControl ID="ShowBorderControl" runat="server" BoundPropertyName="ShowBorder" DisplayCaption="true" PositionCaption="Right"/>
<br />
<br />
<asiweb:BusinessHtmlEditor ID="BodyInput" runat="server" AllowScripts="true" BoundPropertyName="Body" CssClass="HtmlEditor" OnClientLoad="RadEditorSetSize" >
<DocumentManager ViewPaths="~/Images" UploadPaths="~/Images" DeletePaths="~/Images" MaxUploadFileSize="104857600" SearchPatterns="*.doc, *.txt, *.docx, *.xls, *.xlsx, *.pdf, *.xml, *.js, *.html, *.swf, *.jpg" />
</asiweb:BusinessHtmlEditor>
</div>
</asiweb:PanelTemplateControl>
--- You may wish to change tthe paths entries to a directory of your own making, say ~/ABCORGDOCS. You can also control the size of files and the types. After you have uploaded the document, you can just click Insert in the document manager and it will put a link to the doc. You may wish to edit the link title, but it will be there. You may add as many docs as you like on one HTML page. ----
As to security, the individual links are not secured since they are just links to files, not content. You can supply security on the page that holds the links, but if someone copies or bookmarks a link, it can be displayed unsecure.
Hope that is helpful.