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

Add column to Windchill that shows which Workspace items are checked out to

Add column to Windchill that shows which Workspace items are checked out to

Currently, users can see what items they have checked out, but there is no column available that shows which workspace they are checked out to.

Please add a column to Windchill that shows which Workspace items are checked out to.

5 Comments
Participant

If one doesn't already exist, you could pretty easily create your own data utility for this

Amethyst

How might one do that?

Participant

I'll pseudo it out for you.  Use better class names and attribute names.  Try to come up with something unique so that you don't steal an att name that PTC has reserved.

xconf

<Property name="wt.services/svc/default/com.ptc.core.components.descriptor.DataUtility/customWorkspaceAttribute/java.lang.Object/0" overridable="true" value="com.custom.dataUtilities.CustomWorkspaceNameDataUtility/singleton" targetFile="codebase/com/ptc/windchill/enterprise/enterprise.dataUtilities.properties"/>

Find an appropriate DataUtility to extend or just extend AbstractDataUtility.

Create/edit CustomWorkspaceNameDataUtility.getDataValue(String attributeID, Object contextObject, ModelContext modelContext)

if(attributeID.equals("customWorkspaceAttribute")) {

  String name = contextObject.getworkspace().getName();

   return new TextDisplayComponent(name);

} else {

//idk....

}

In the correct JSP, add a describeColumn, being sure to set id="customWorkspaceAttribute" and dataUtilityId="customWorkspaceAttribute"

Newbie

Hi Matthew/ Domingo,

In the correct JSP, add a describeColumn, being sure to set id="customWorkspaceAttribute" and dataUtilityId="customWorkspaceAttribute"


                   

For the workspace page, can you help me with the correct jsp. I have tried really hard but i cannot find the correct jsp.

Heres my real issue (http://communities.ptc.com/thread/43488). But i believe finding the correct jsp can actually lead me towards solving it.

-Raj

Community Manager
Status changed to: Acknowledged