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

We are happy to announce the new Windchill Customization board! Learn more.

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

pyalavarthi
1-Newbie

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>



Top Tags