good afternoon friends I’m new to uipath, could someone give me some tips to solve this problem
Hi @pauloengenharia5 - It might be because of in_Config(“sharepoint_URL”) is empty .Make sure you are giving the right one that you created in the config file. Can you print in_Config(“sharepoint_URL”) in a message box and see what is giving
@pauloengenharia5 To test connection just pass the original URL. I meant remove in_Config(“sharepoint_URL”) and pass the original URL. Once the connection successful then try passing in_Config(“sharepoint_URL”). See how it goes
@pauloengenharia5 in_Config is an argument that should contains the config file data coming from initAllSettings.xaml. But, here it looks the in_Config is empty hence you are receiving this error. Please look in to the below video to check how to pass the config variable from intiAllSetting.xaml to other workflows
@pauloengenharia5 - is it possible to share your workflow
shareTest.xaml (10.7 KB)
You’re probably not executing from Main.xaml so in_Config never gets populated.
hello thanks for the help I ran through main but it still hasn’t been
Then you need to investigate why your in_Config dictionary is not being populated.
@pauloengenharia5 - I have created a flow based on the xaml that you have provided. Refer to the attached workflow. You have created variable and argument with the same name and data type within the sharetest.xaml that might cause the issue.
Example.zip (23.4 KB)
in_Config and out_Config are two different variables. You have in_Config in your Message Box. There is no such variable, so you get the “object reference not set to” error.
thanks for the help friends but I still couldn’t solve it, when I test in TestWorkFlowTemplat it brings the value of the URl
thanks for the help friends but I still couldn’t solve it, when I test in TestWorkFlowTemplat it brings the value of the URl
That’s what it’s supposed to do. What were you expecting?