This discussion is archived
1 Reply Latest reply: Jan 17, 2013 11:05 AM by Trey RSS

How to generate Token

StefanoMeleSinfo Newbie
Currently Being Moderated
Hi,

I'm using Agile PLM for Process 6.1.0.1.
in Agile Product Lifecycle Management for Process Documentation Library v6.1 >> Administrator User Guide is explained how to generate a Token from ADMIN Module.
The guide says to click on ADMIN > Activities > Generate Token on the left navigation panel. Our issue is that the "generate Token" row exit doesn't appear.
We have the same issue with the "import".
The only row exit that appear is "Export"

Do you know which could be the cause of this issue?

If you need a better explanation let me know.
Thanks and regards.
Stefano

Edited by: StefanoMeleSinfo on 16-gen-2013 2.22
  • 1. Re: How to generate Token
    Trey Explorer
    Currently Being Moderated
    Hi, in the EnvironmentSettings.config file there are several sections that control this.

    First is the DataExchangeService node, which need to be different for the Source system versus the Target System. This controls which system can generate tokens.

    SOURCE SYSTEM
    <!-- Change the System Attribute of dataexchange to Production to make this environment import only environment -->                    
                        <!-- DataExchangeService follows a new and simpler config scheme now -->
                        <DataExchangeService configChildKey="name" refscope="Application" factory="Class:Xeno.Prodika.Services.DataExchange.DataExchangeServiceFactory,PlatformExtensions" >
                             <envvar name='DexConfiguration' handler='Class:Xeno.Prodika.Services.DataExchange.Configuration.DexConfigSectionHandlerFactory,PlatformExtensions'>
                                  <DataExchangeConfig System="PSTAGE" NotifierEmail="@@VAR:Prodika.DataExchangeService.Notifier.EmailAddress@@"
                                       EncryptionFilter="Class:Xeno.Prodika.Services.DataExchange.Serialization.RijndaelEncryptionStreamFilterFactory,PlatformExtensions">
                                       <TargetSystems>
    PDEV
                                       </TargetSystems>
                                       <SourceSystems>

                                       </SourceSystems>
                                  </DataExchangeConfig>
                             </envvar>
                        </DataExchangeService>



    TARGET SYSTEM - The Target will allow Tokens to be generated for the Source.

    <!-- Change the System Attribute of dataexchange to Production to make this environment import only environment -->                    
                        <!-- DataExchangeService follows a new and simpler config scheme now -->
                        <DataExchangeService configChildKey="name" refscope="Application" factory="Class:Xeno.Prodika.Services.DataExchange.DataExchangeServiceFactory,PlatformExtensions" >
                             <envvar name='DexConfiguration' handler='Class:Xeno.Prodika.Services.DataExchange.Configuration.DexConfigSectionHandlerFactory,PlatformExtensions'>
                                  <DataExchangeConfig System="PDEV" NotifierEmail="@@VAR:Prodika.DataExchangeService.Notifier.EmailAddress@@"
                                       EncryptionFilter="Class:Xeno.Prodika.Services.DataExchange.Serialization.RijndaelEncryptionStreamFilterFactory,PlatformExtensions">
                                       <TargetSystems>

                                       </TargetSystems>
                                       <SourceSystems>
    PSTAGE
                                       </SourceSystems>
                                  </DataExchangeConfig>
                             </envvar>
                        </DataExchangeService>


    Then there are several sections you set the which allows create, edit, and export from the Source system, and then you dis-allow on the Target system.

    SOURCE System: We set WFA and UGM (i.e PMA) to allow everything but Import.
         <WFA>
              <AppSettings configChildKey="key" >
                   <add key="AllowCreate" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowEdit" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowCopy" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowImport" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowExport" value="true" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </WFA>

         <PMA>
              <AppSettings configChildKey="key" >
                   <add key="AllowUserCreate" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserEdit" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserImport" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowUserExport" value="true" configAttributeOverrideModifier="IsLocked" />

                   <add key="AllowGroupCreate" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupEdit" value="true" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupImport" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowGroupExport" value="true" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </PMA>


    TARGET System: We set WFA and UGM (i.e PMA) to not allow everything but Import.


         <WFA>
              <AppSettings configChildKey="key" >
                   <add key="AllowCreate" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowEdit" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowCopy" value="false" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowImport" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowExport" value="false" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </WFA>

         <PMA>
              <AppSettings configChildKey="key" >
                   <add key="AllowUserCreate" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserEdit" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowUserImport" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowUserExport" value="false" configAttributeOverrideModifier="IsLocked" />

                   <add key="AllowGroupCreate" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupEdit" value="false" configAttributeOverrideModifier="IsLocked"/>
                   <add key="AllowGroupImport" value="true" configAttributeOverrideModifier="IsLocked" />
                   <add key="AllowGroupExport" value="false" configAttributeOverrideModifier="IsLocked" />
              </AppSettings>
         </PMA>


    Hope that helps!

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points