...
Right click the project name in the project tree and from the context menu select Pricefx > Create 'config.json' (Connect to Partition).
In the Studio Editor, select one of the pre-set environments you want to create the connection for, or add your custom environment by clicking the Add Environment icon.
Info |
---|
The sorting to categories by environments is Environments do not have any special meaning, they are only for your needs in Pricefx Studio, it does not affect your connection or other functionalitiesbetter organization of connections in Pricefx Studio. |
Info |
---|
The order of environments and partitions defines the order in which they appear in editors and tool windows. |
Click the Add partition icon (+) to add the partition to the selected environment.
Fill in the Partition and Base URL fields, then click the Open Connect Dialog button.
Select whether you want to authenticate using Password, SSO (Single sign-on), or connect to Platform Manager PlatformManager.
Password
Enter a username and password. Optionally, enter the TFA Token, if the two-factor authentication is enabled for the user. For more details about how the passwords are stored, refer to the Password Management section below.SSO
Enter the name of the SAML configuration for the corresponding partition.Platform ManagerPlatformManager
See the Connect with Single Sign-on via Platform ManagerPlatformManager section below.
Click the Connect button. If the connection was successfully established, the following dialog appears:
Connect with Single Sign-on via Platform ManagerPlatformManager
If you have a Platform Manager PlatformManager account, you can have the configuration file pre-generated with all the partitions. This helps you get started much faster.
Prerequisites
Platform Manager account
Platform Manager PlatformManager account and access to the partition assigned
How to Create Platform Manager PlatformManager API Token
Follow these steps if you have already the Platform Manager PlatformManager account created and access to the partition assigned.
In IDEA, navigate to File > Settings > Pricefx Studio (or simply click the Open Studio settings button at the bottom of Studio Editor).
Enter your Username/Email and click the Create New Token button to open your Platform Manager PlatformManager profile settings (after you log in).
...
Open the Tokens section from the menu on the left and click the Create New API Token button.
Enter any token name (e.g., “studio“) in the Create Token dialog and click Create.
Copy the generated token and store it in a safe place. You will not be able to display the token again after you close this dialog.
Paste the generated token you have copied in the previous step to the Token field in Pricefx Studio settings and close the window by clicking OK.
Now, click the Open Import Dialog button within the Studio Editor to view partitions via the Platform Manager Import dialog that are available for importing.
Select the partitions you want to import and click Import.
All selected partitions are now imported in the Studio Editor within corresponding environments.
...
One of the advantages of this approach is that you can now safely store config.json in a Git repository since the passwords are no longer available in the file.
How It Works
When you open an existing project in IDEA, config.json will get automatically migrated to the new structure (without the credentials).
After If you push config.json to Git and other colleagues access these partitions in Studio for the first time, they will get prompted to enter their username and password.
If you change the password on the partition meanwhile, simply create the connection again (as described above in Step 1) with click the Open Studio settings button and provide new credentials.
If you want to change the password or delete one of the configurations, you need to do it in using KeePass or KeyChain.