cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

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

pyalavarthi
1-Visitor

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

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 2

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


Thanks

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>



Announcements

Top Tags