Cancel
Showing results for 
Search instead for 
Did you mean: 

XML style sheet

Builder
Builder
Expert all,
I have to add command like check out in XML sheet just like copy,save as,revise. but it needed jar file...how should I findout jar file(commandID)..?
8 REPLIES 8

Re: XML style sheet

Gears Phenom Gears Phenom
Gears Phenom

Good afternoon, add the following section to your XML sheet:

 

            <section titleKey="tc_xrt_actions" commandLayout="vertical">
                <command actionKey="copyAction" commandId="com.teamcenter.rac.copy"/>
                <command actionKey="reviseAction" commandId="com.teamcenter.rac.revise"/>
                <command actionKey="saveAsAction" commandId="org.eclipse.ui.file.saveAs"/>
            </section>

Re: XML style sheet

Builder
Builder
Thanks ArthurRM,
but I haven't see your solution ..
will you please send it once again sothat I can open it...

Re: XML style sheet

Builder
Builder
Dear aurthurRM,
I need command id for "check out" .
If possible tell us how to find out it from config file? Becoz there are lot of files present here...so I couldn't find it ..

Re: XML style sheet

Gears Phenom Gears Phenom
Gears Phenom

So you see the message? See below:

 

<section titleKey="tc_xrt_actions" commandLayout="vertical">
<command actionKey="copyAction" commandId="com.teamcenter.rac.copy"/>
<command actionKey="reviseAction" commandId="com.teamcenter.rac.revise"/>
<command actionKey="saveAsAction" commandId="org.eclipse.ui.file.saveAs"/>
</section>

 

Why do you need the "check out" button? It is already present by default in the Summary and Viewer tab at the bottom of the window.

Re: XML style sheet

Siemens Genius Siemens Genius
Siemens Genius

The below i put an old list of what you want, As-Is no guarantee what it is 100% applicability for current version.

 

 

Команда меню

CommandID

Objects ...

com.teamcenter.rac.exportObjects

To Default ODS ...

com.teamcenter.rac.publishToDefaultOdsDotDotDot

Pack All

com.teamcenter.rac.packAll

Work Context...

com.teamcenter.rac.newWorkContext

Compare 2D Images

com.teamcenter.rac.compare2D

BOMView Revision...

com.teamcenter.rac.newBVR

Show Unconfigured Variants

com.teamcenter.rac.showUnconfiguredItems

User Setting...

com.teamcenter.rac.userSetting

Assign

com.teamcenter.rac.applyAssnList

Internal...

com.teamcenter.rac.internalTraceRpt

firstBrowseAction

com.teamcenter.rac.firstBrowse

Latest

com.teamcenter.rac.latest

Summary Reports

com.teamcenter.rac.summaryReport

Select Unused

com.teamcenter.rac.SelectUnderUsed

Non-Revisable...

com.teamcenter.rac.newGDELink

Operation...

com.teamcenter.rac.newMEOperation

Toggle Precise/Imprecise

com.teamcenter.rac.togglePrecise

Revision Effectivity...

com.teamcenter.rac.revisionEffectivity

previousBrowseAction

com.teamcenter.rac.previousBrowse

Assign Work Context...

com.teamcenter.rac.assignWorkContext

Paste...

com.teamcenter.rac.pasteAs

Edit Activity Occurrences

com.teamcenter.rac.editResource

Change Ownership...

com.teamcenter.rac.changeOwnership

Assign...

com.teamcenter.rac.assign

Configure...

com.teamcenter.rac.configureVariant

Address List...

com.teamcenter.rac.addressList

Verify Part Structure

com.teamcenter.rac.verifyPartStructure

From Briefcase...

com.teamcenter.rac.importFromOfflinePackage

From All ODS Sites

com.teamcenter.rac.unpublishFromPublishedToSites

Stand-In

com.teamcenter.rac.standin

Occurrence Effectivity...

com.teamcenter.rac.occEffect

Check...

com.teamcenter.rac.AcctabilityCheck

Select Occurrence Type Filters...

com.teamcenter.rac.occurrenceFilter

Check Index Status...

com.teamcenter.rac.checkIndexStatus

Up

com.teamcenter.rac.moveUpAMRuleTree

Audit

com.teamcenter.rac.auditFile

Generate Portfolio ...

com.teamcenter.rac.generatePortfolio

nextBrowseAction

com.teamcenter.rac.nextBrowse

Re-Sequence Process...

com.teamcenter.rac.reSequenceProcess

Variant Rule

com.teamcenter.rac.varRule

Only Configure Root

com.teamcenter.rac.onlyConfigureRoot

Save Configuration

com.teamcenter.rac.saveConfig

Count Modules...

com.teamcenter.rac.countModules

Remote Checkout ...

com.teamcenter.rac.sendRemoteCheckout

Check-In...

com.teamcenter.rac.checkIn

Access...

com.teamcenter.rac.access

To ODS Publication List ...

com.teamcenter.rac.publishToPublicationList

Schedule

com.teamcenter.rac.newSchedule

From Specific ODS Site(s) ...

com.teamcenter.rac.unpublishFromSpecificSites

Search...

com.teamcenter.rac.searchVI

Notes...

com.teamcenter.rac.notes

To Remote Site Via Global Services...

com.teamcenter.rac.exportRemoteGms

Component...

com.teamcenter.rac.multisiteSyncComponent

Remove

com.teamcenter.rac.removeFromProject

Register Item Id

com.teamcenter.rac.registerItemId

Item...

com.teamcenter.rac.newItem

Modify Current...

com.teamcenter.rac.modifyRevRule

Remove target from PublishLink

com.teamcenter.rac.removeTargetFromPublishLink

Top Level

com.teamcenter.rac.goTopLevel

Make Immune ...

com.teamcenter.rac.makeImmune

Assign

com.teamcenter.rac.assignToProject

Add targets to PublishLink

com.teamcenter.rac.addPublishLinkTargets

Remove In Context Override

com.teamcenter.rac.removeAbsocc

BOMView(Revision)...

com.teamcenter.rac.saveAsBOMViewRevision

Cancel Check-Out...

com.teamcenter.rac.cancelCheckOut

Print...

com.teamcenter.rac.printAs

Remote Export ...

com.teamcenter.rac.sendRemoteExport

Process Variable...

com.teamcenter.rac.newPVariable

Design...

com.teamcenter.rac.newDesign

Part...

com.teamcenter.rac.newPart

Clear Display

com.teamcenter.rac.clearCompletenessCheckDisplay

Paste Substitute

com.teamcenter.rac.pasteSubstitute

URL...

com.teamcenter.rac.newURL

Envelope...

com.teamcenter.rac.newEnvelope

Show Part Solutions

com.teamcenter.rac.showPartSolutions

Create/Edit...

com.teamcenter.rac.createRevRule

Bottom

com.teamcenter.rac.moveBottom

Publish Data

com.teamcenter.rac.publishData

Clear Display

com.teamcenter.rac.CMEbomCompareClear

Report Designer Reports

com.teamcenter.rac.report

Intermediate Data Capture...

com.teamcenter.rac.IntermediateDataCapture

Notification List...

com.teamcenter.rac.notifyList

Replace

com.teamcenter.rac.replaceFromClipboard

Up

com.teamcenter.rac.moveUp

Objects to Excel

com.teamcenter.rac.exportToExcel

Purge

com.teamcenter.rac.purge

Workflow Process...

com.teamcenter.rac.newProcess

Expand Below...

com.teamcenter.rac.expandToLevel

Resume

com.teamcenter.rac.resume

Down a Level

com.teamcenter.rac.goDownALevel

Dataset...

com.teamcenter.rac.newDataset

Process & Change Selector

com.teamcenter.rac.ProcessAndChangeConfigurator

Check-Out History...

com.teamcenter.rac.checkOutHistory

Disconnect...

com.teamcenter.rac.disconnect

View With...

com.teamcenter.rac.viewWith

Signal...

com.teamcenter.rac.newSignal

Revisable...

com.teamcenter.rac.newPSConnection

ID...

com.teamcenter.rac.newAlternateId

Expand Below

com.teamcenter.rac.expandBelowAMRuleTree

Select Completely Used

com.teamcenter.rac.SelectUsed

Perform

com.teamcenter.rac.perform

Create/Edit...

com.teamcenter.rac.createIdDisplayRule

Show/Hide In Context Bomline

com.teamcenter.rac.contectSpecificAbsocc

Select Over-used

com.teamcenter.rac.SelectOverUsed

Promote

com.teamcenter.rac.skip

Revision Effectivity...

com.teamcenter.rac.endItemEffect

Find lines with same logical identity

com.teamcenter.rac.findLinesWithSameLogicalIdentity

Process...

com.teamcenter.rac.newMEProcess

Show Unconfigured Changes

com.teamcenter.rac.showUnconfiguredChanges

Refresh Window

com.teamcenter.rac.refreshWindow

Run Validations...

com.teamcenter.rac.Validate

Replace User

com.teamcenter.rac.replaceInAssnList

Folder...

com.teamcenter.rac.newFolder

Open PublishLink source structure

com.teamcenter.rac.openPublishLinkSource

Find Clipboard Items

com.teamcenter.rac.avBrowserFindClipboardItems

Current Users...

com.teamcenter.rac.listUsers

Find PublishLink targets

com.teamcenter.rac.findPublishLinkTargets

To Default ODS

com.teamcenter.rac.publishToDefaultOds

Top

com.teamcenter.rac.moveTop

Organization...

com.teamcenter.rac.organization

Open

com.teamcenter.rac.open

Down

com.teamcenter.rac.moveDownAMRuleTree

Change...

com.teamcenter.rac.newECM

From Default ODS ...

com.teamcenter.rac.unpublishFromDefaultOdsDotDotDot

Unregister Item Id

com.teamcenter.rac.unregisterItemId

Effectivity Mapping...

com.teamcenter.rac.notPseEffectivityMapping

Remote...

com.teamcenter.rac.exportRemotePLM

Form...

com.teamcenter.rac.newForm

Unpack

com.teamcenter.rac.unpack

Unpack All

com.teamcenter.rac.unpackAll

Remove

com.teamcenter.rac.remove

Create/Edit

com.teamcenter.rac.createAssnList

Effectivity Mapping...

com.teamcenter.rac.effMap

Create PublishLink

com.teamcenter.rac.createPublishLink

Remove Immunity ...

com.teamcenter.rac.removeImmunity

Structure Context...

com.teamcenter.rac.newSC

View/Set Current...

com.teamcenter.rac.viewIdDisplayRule

Replace...

com.teamcenter.rac.replace

Rename

com.teamcenter.rac.rename

Copy Workflow Process

com.teamcenter.rac.copyProcess

Item Element...

com.teamcenter.rac.newGDE

Start

com.teamcenter.rac.start

Assembly...

com.teamcenter.rac.multisiteSyncAssembly

Modify Current...

com.teamcenter.rac.modifyIdDisplayRule

Expand Below

com.teamcenter.rac.expandBelow

Set Date/Unit/End Item...

com.teamcenter.rac.setMiscFields

View Results...

com.teamcenter.rac.ShowResult

Baseline...

com.teamcenter.rac.Baseline

Revise...

com.teamcenter.rac.revise

Copy Item of Line

com.teamcenter.rac.copyItem

Find PublishLink source

com.teamcenter.rac.findPublishLinkSource

Occurrence Group...

com.teamcenter.rac.newAV

External...

com.teamcenter.rac.externalTraceRpt

Connect...

com.teamcenter.rac.connect

Show GCS Connection Points

com.teamcenter.rac.GCSMode

Collapse Below

com.teamcenter.rac.collapse

Variant Condition...

com.teamcenter.rac.varCondition

Up a Level

com.teamcenter.rac.goUpALevel

Objects...

com.teamcenter.rac.importObjects

Save Bookmark...

com.teamcenter.rac.CMEsaveBookmark

Show Unconfigured By Occurrence Effectivity

com.teamcenter.rac.showUnconfiguredOccs

Down

com.teamcenter.rac.moveDown

Manage Global Alternates

com.teamcenter.rac.manageGlobalAlternates

Check-Out...

com.teamcenter.rac.checkOut

Apply Occurrence Type Filter

com.teamcenter.rac.applyOccFilter

CAE Item...

com.teamcenter.rac.newCAEItem

Workarea...

com.teamcenter.rac.newMEWorkarea

Set Override folder...

com.teamcenter.rac.setOverride

Remove Design from Product

com.teamcenter.rac.removeFromWizard

Item(Revision)...

com.teamcenter.rac.saveAsItemRevision

Delete PublishLink for source

com.teamcenter.rac.deletePublishLinkForSource

Activity...

com.teamcenter.rac.newMEActivity

Named References...

com.teamcenter.rac.namedReferences

Task Properties...

com.teamcenter.rac.taskProperties

Open Live Excel

com.teamcenter.rac.excelLiveOpen

Suspend

com.teamcenter.rac.suspend

Pack

com.teamcenter.rac.pack

Store Occurrence Paths

com.teamcenter.rac.createAppearancePath

Options...

com.teamcenter.rac.preferences

Open With...

com.teamcenter.rac.openAs

View / Set Current

com.teamcenter.rac.viewSetRevRule

latestBrowseAction

com.teamcenter.rac.latestBrowse

Save as CC...

com.teamcenter.rac.CCSaveAsNew

Transfer Check-Out...

com.teamcenter.rac.transferCheckOut

Signoff Report

com.teamcenter.rac.viewHTMLReport

Import Remote...

com.teamcenter.rac.importRemote

Update Variant Item...

com.teamcenter.rac.updateVi

From Default ODS

com.teamcenter.rac.unpublishFromDefaultOds

Add/Remove View Tabs ...

com.teamcenter.rac.viewTabAddRemove

Replace Design in Product

com.teamcenter.rac.replaceComponent

Object

com.teamcenter.rac.multisiteSyncObject

Assign Resource

com.teamcenter.rac.AssignResource

Expand

com.teamcenter.rac.expand

View

com.teamcenter.rac.view

Custom Reports

com.teamcenter.rac.customReport

Show Collaboration Panel

com.teamcenter.rac.toggleNavigator

Collaboration Context...

com.teamcenter.rac.newCC

Add...

com.teamcenter.rac.add

Show Lower Structure Panel

com.teamcenter.rac.toggleCCStructures

To Briefcase...

com.teamcenter.rac.exportOfflineGms

Interface Definition...

com.teamcenter.rac.newInterfaceGDE

Unlink Variant Item...

com.teamcenter.rac.unlinkVi

Add Design to Product

com.teamcenter.rac.addComponent

Complete

com.teamcenter.rac.complete

Split Occurrence

com.teamcenter.rac.splitBOM

Insert Level

com.teamcenter.rac.insertLevel

Toggle In Context Mode

com.teamcenter.rac.modifyAbsOccToggle

Configuration Context...

com.teamcenter.rac.newConfigContext

Repair Broken Links

com.teamcenter.rac.repairBrokenLinks

Graphical BOM Compare

com.teamcenter.rac.MSEInvokeGBCButton

Import Feature Data

com.teamcenter.rac.importFeatureData

Merge Scenes

com.teamcenter.rac.MergeScenes

Show Data Panel

com.teamcenter.rac.dataPanelToggle

Unload All

com.teamcenter.rac.mfgUnloadAll

Replace Part in Product

com.teamcenter.rac.replacePart

All Lines

com.teamcenter.rac.selectBelowAll

Lowest Lines

com.teamcenter.rac.selectBelowLeaf

Show/Hide Data Panel

com.teamcenter.rac.tabToggle

Load Menus

com.teamcenter.rac.loadMenus

Subscribe to Refresh Notification...

com.teamcenter.rac.subscribeRefreshNotify

Open In NX

com.teamcenter.rac.openInNX

Open Bookmark in TcVis

com.teamcenter.rac.openInPV

Open In TcVis

com.teamcenter.rac.openInVMU

Usage Component...

com.teamcenter.rac.newUsageComponent

Current Application

com.teamcenter.rac.helpApplication

Help Library

com.teamcenter.rac.helpFramework

Manage Configuration

com.teamcenter.rac.manageConfiguration

Find and Install...

com.teamcenter.rac.findAndInstall

Assign Participants...

com.teamcenter.rac.assignparticipants

 

 

 

All the best, Alexey.

Re: XML style sheet

Gears Phenom Gears Phenom
Gears Phenom

@SedoykinAlexey thank you for the useful information

Re: XML style sheet

Solution Partner Esteemed Contributor Solution Partner Esteemed Contributor
Solution Partner Esteemed Contributor
You can generate a list for your current software version by running DumpCMSConfigInfo…
1. In a Tc command window.
2. Navigate to folder where Teamcenter.exe lives (mine is in TC_ROOT\portal).
3. Run "Teamcenter -application com.teamcenter.rac.util.DumpCMSConfigInfo"

That will create a number of csv files in the /portal directory for application name, commandId and view names. Useful for Context Command Suppression.

Randy Ellsworth, Teamcenter Architect, Applied CAx, LLC
NX 11 | SW 2016 | Creo 4 | TcUA 11.4
Evaluating: AW 3.4

Highlighted

Re: XML style sheet

Siemens Genius Siemens Genius
Siemens Genius

Adding of two snippets, maybe it will useful

 

1.

you can overwrite the command name, for example, change the name for this command:

 

<command actionKey="copyAction" commandId="com.teamcenter.rac.copy"/>

 

 

<command actionKey="copyAction" commandId="com.teamcenter.rac.copy" text = "newNameForCopAct"/>

 

open com.teamcenter.rac.viewer_#####.#.0.jar/\com\teamcenter\rac\viewer\stylesheet\xmlstylesheet\xml_stylesheet_locale.properties

 

and add there:

newNameForCopAct= Click for copy…

 

after that please to launch genregxml.bat

 

 

2.

If you will want to add some command to the header of your stylesheet, you need to make:

 

<rendering xmlns :xsi="http://blblbblblblblblblablabalbalbab

<header>

   <command commandId="com.teamcenter.rac.newProcess" text="newProc" renderingHint="commandbutton"/>

  <image soure ="thumbnail"/>

...

...

...

 

 

 

after that, please to launch genreg.xml

All the best, Alexey.