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
MatthewKnight
4-Participant

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

dhermosillo
13-Aquamarine

How might one do that?

MatthewKnight
4-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"

ptc-4136691
1-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

PTCModerator
Emeritus
Status changed to: Acknowledged