Skip to main content
11-Garnet
October 21, 2015
Question

Adding WTDocument to a WTPart

  • October 21, 2015
  • 2 replies
  • 2788 views

We would like to enable the ability for users to add a WTDocument to a WTPart within the part create dialog box by adding the Java drag and drop box into the UI.  We are looking for a OOTB preference or other businesses who may have implemented this functionality.  Any suggestions?

--Kirk Wemple

Newell Rubbermaid

2 replies

1-Visitor
October 21, 2015

You're in luck... there is an OOTB Preference that will enable Attachments to Parts.  Set this highlighted to Yes and you should be good to go.  Have not yet implemented (as you can see) because we're considering the use cases...  Most of which boil down to requiring Rev Control and Change Management so a related WTPart is used, or data that would not be consistently applied.

Thought about this for Part Instances and things like Inspection Reports, Material Certs etc. but when you think about it these should be reviewed and validated before entering the system so the logical choice becomes a stand-alone WTDocument, as even though Revision is highly unlikely the need for process driven and documented validation is evident.  AttachmentsOnParts.jpg

11-Garnet
October 21, 2015

Thanks for reply.

I assume that is a 10.2 preference, correct?

If set to yes, what is the mechanism for attaching the content? Java drag and drop?   Can you specify that the content be created as a specific document type?

1-Visitor
October 21, 2015
  • 10.2 is shown... I'm not sure when they brought it in but I think it was 10.2
  • The behavior is exactly like all other Attachments functionality, Java Drag and Drop or Browse.
  • If you need a Document Type (by this I'm assuming you mean WTDocument sub-type), then no you cannot.  Attachments do not have a Type as they are secondary content.  If you need a specific type, then you need to create and relate as a sub-type of WTDocument
18-Opal
October 21, 2015

So what kind of documents are you thinking of attaching?   Most of the documents I have thought of, should be stand alone  WTDocs...

11-Garnet
October 21, 2015

We would like the capability to add a WTDocument type(add existing or create new) during WTPart creation.  We would be able to choose the type.   Depending on the type, it would either be added to the Described By Documents or References Documents table of the part.  An example would be creating a corrugate packaging part and adding the die line as a described by document all in one step within the New Part dialog box.  

Also being able to add secondary content as an attachment would be helpful. 

1-Visitor
October 21, 2015

That sounds like customizing the WTPart creation Wizard... In theory, this is all possible with Supported Customizations, Actions, Action Models, Wizard Steps etc.  I'd say not Configrable in the sense of being able to combine/enable OOTB capabilities (wouldn't that be cool?!)