Page 1 of 1

Syntax in PAW.ps1 to enable View Integration In PAX

Posted: Wed Jan 27, 2021 6:40 pm
by dharav9
Hi, All

Environment:
PAW:2.0.59
pa local: 2.0.9.3

I want to enable View feature (see attached) in PAX for users to exchange PAW content space view from PAX.
I follow ibm document and it describes to place Enable_View_Exchange parameter and set it to ture in PAW.ps1 file.

I place following code in PAW.ps1 file and restarted PAW services.

$env:ENABLE_VIEW_EXCHANGE="true"

It did not work for me. Just want to make sure syntax is correct or not?

Thank You
Dharav

Re: Syntax in PAW.ps1 to enable View Integration In PAX

Posted: Wed Jan 27, 2021 7:13 pm
by Ajay
Hi

So when I did this, I stopped PAW using the scripts/paw.ps1 file, with the command:

./paw.ps1 stop

I then made the change in the config/paw.ps1 file, saved the file, and then I restarted PAW, using the scripts/paw.ps1, with the command:

./paw.ps1

This should enable the new change you require

HTH
Ajay

Re: Syntax in PAW.ps1 to enable View Integration In PAX

Posted: Wed Jan 27, 2021 8:57 pm
by declanr
You don't actually need to stop the services manually. But Ajay is correct that you need to run the paw.ps1 script after you make any changes to the config parameters.
When you run ./scripts/paw.ps1 it will find any changes you have made and then restart only the services that are required for it to take effect.

However, it is probably a good idea to carry out the steps that Ajay has suggested as it gives you an opportunity to make sure that you have backed up the file in case you get anything wrong.