You could use a domain account via an automation principal instead. As long as the domain account has permissions on the share you can use it without requiring further credentials. You'll need a NSH Proxy to use an automation principal.
Yes. this can be done.
Follow the following procedure:
1. Create a local property within the BL Package
2. Choose the type of property as SIMPLE: ENCRYPTED STRING
3. Provide the value of the password in the default field. You can also set it as editable as per your requirement. Then the user has the ability to change the value of password during run time. But it always stays encrypted i.e. at no time a plain text format is visible to the users.
4. Then create the external command in the package and reference your local property using ??MY_PASSWORD??.
See the screenshots below for clarity:
Can we use a global property from Server class rather than local property?
1 of 1 people found this helpful
Yes, you can.
In the step of writing the command inside the external command, instead of using a local property ??MY_PASSWORD??, you could use the following:
??TARGET.<WHATEVER SERVER PROPERTY YOU WANT TO USE HERE>??
Please note that there is a period between TARGET & TARGET PROPERTY.
You can use the drop down available beside the import button. This will open all the property classes including TARGET class. Then use the arrow button beside TARGET class to select the property of server class you want.
I am not sure why that happens.
Could you simply save your package, close your console, reopen and try again?
Ahh!! It works: Exit console and re-open it..."Defect" Thanks
Not really a defect. I believe you started creating the package first and didn't save it. Then you switched to SERVER property class to create the new property. Since the package was already open, it didn't pick up the on the fly change you made.
So, closing the session helped.
Alternatively, you could simply closed your package and reopened it and it would have worked.
True, thanks for your help.
It's really great options... Thanks for all the replies.