In your config excel you should add two col one is name → which you access from Uipath studio and value → asset name
While you extracing you should pass argument as config(“name(name you specified in config file)”).ToString to get asset activity in input parameter
Hi @pippug,
I faced the same while I was going through the same example. The solution to this is as follows…
In the config file assets tab, you should only mention assets which are not in the type credential. All the credential type assets should go into the settings sheet which is the very first sheet of the config.
The reason to do that is, in the Framework, it uses a get asset activity to read assets that are mentioned in the asset sheet. Since credential is a asset that should be read using get credential activity, it throws an error there…
So removing the credential asset from the asset sheet and adding it to the settings page should work fine for you…
@Lahiru.Fernando sir can you help me out to solve this error. when I’m executing project it throws this error Get Credential: Object reference not set to an instance of an object.
Sorry for my late reply. Just now I got a chance to check the messages. So for this error, Can you check whether you are passing the proper Asset name? I think you are using the REFramework for this right? So you must be getting the Asset name from the Config file. Can you check whether the In_Config argument is properly set to refer to the proper asset name?