Rename the Left side tree view panel name

Dear Team,

I trying to rename the left side panel tree name Revisions to Owners but, not able to rename it. i’m tried the following codes and put on initialize() method.

image

Code:

/*
// Begin with Root Name Change
EpiTreeViewPanel tvp = (EpiTreeViewPanel)(oTrans.EpiBaseForm.GetType().InvokeMember(“epiTreeViewPanel1”, System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.GetField | System.Reflection.BindingFlags.NonPublic, null, oTrans.EpiBaseForm, null));
tvp.RootNodeText = “Owners”;

	Infragistics.Win.UltraWinDock.DockableWindow dockWindow = (Infragistics.Win.UltraWinDock.DockableWindow) tvp.Parent;
	Infragistics.Win.UltraWinDock.DockableControlPane dockPane = (Infragistics.Win.UltraWinDock.DockableControlPane) dockWindow.Pane;
	dockPane.Text = "Owners";
	// End with Root Name Change
	*/

	/*Erp.UI.App.PartEntry.Panels.PartRev.PartRevPanel pnl = (Erp.UI.App.PartEntry.Panels.PartRev.PartRevPanel)csm.GetNativeControlReference("8a4c5036-9dc5-4fb7-aae4-0826198949f2");

	if (pnl.EpiSelectedSheet == "Revisions")
	{
		pnl.Text = "Owners";		
	}*/
	
	Erp.UI.App.PartEntry.Panels.PartRev.PartRevPanel RevPnl = (Erp.UI.App.PartEntry.Panels.PartRev.PartRevPanel)csm.GetNativeControlReference("8a4c5036-9dc5-4fb7-aae4-0826198949f2");
	RevPnl.Text = "Owners";

You can do that without needing custom code.

Goto tools -> options in the part entry screen to see below dialog

edit the revisions Node Caption to what you want.

I think you will need to open the part screen, make the edit, then hit tools -> customisation to bring the edit into the customisation and then save. I know this works for the window location because when I save on my 2 screen setup the users can no longer see the window.

Brett

Dear bmanners,

thank you. its working now.