Skip to main content
1-Visitor
November 16, 2012
Question

How to hide Primary Content Source options for WTDocument. - Resolved

  • November 16, 2012
  • 2 replies
  • 990 views
primaryAttachment tag has attributes *allowURL* and *allowExternal* to hide
these dropdown items in Document wizards.

codebase\WEB-INF\tags\primaryAttachmentWithMSOI.tag


Regards,
Prathap <">http://goo.gl/LuT5>



2 replies

1-Visitor
November 19, 2012

How exactly did you end up hiding these options? I examined the file and I couldn't fine the attributes you mentioned.


Thanks

1-Visitor
November 19, 2012
Hi Robert,
Here is the snippet from the primaryAttachmentWithMSOI.tag file that
worked for me to hide URL and External options for Primary Content Source.

<c:when test="${defaultNameJSFunction" =="null}">
<%-- Renders the primary attachment component --%>
<attachments:primaryattachment fixedfilepath="${attachFixedFilePath}"&lt;br"/>fixedFileUpload="${attachFixedFileUpload}" *allowUrl="false"
allowExternal="false"*/>
</c:when>
<c:otherwise>
<attachments:primaryattachment fixedfilepath="${attachFixedFilePath}"&lt;br"/>fixedFileUpload="${attachFixedFileUpload}"
defaultNameJSFunction="${defaultNameJSFunction}" *allowUrl="false"
allowExternal="false"*/>
</c:otherwise>


Regards,
Prathap <">http://goo.gl/LuT5>