Error Can't find macro with name "name" when run command line

Hi, I see that you are using storage=xfile - this is correct. But please note that even with xfile active, UI.Vision can only find macros that are within the UI.Vision root folder(*).

So if your XModule root folder is for example:

C:\software\rpa\ then the macro root folder is automatically

C:\software\rpa\macros

Thus you can use

  • storage=xfile&macro=macro%20name1 (if the macro is at “C:\software\rpa\macros\macro name1.json”)
  • storage=xfile&macro=\folder1\folder2\macro%20name1 (if the macro is at “C:\software\rpa\macros\folder1\folder2\macro name1.json”)

But actually… looking at your code again I think in your case it might be a simple typo:

=> Instead of repertoire%%fichier try repertoire%20fichier (In URLs %20 is used to replace space " ").

(*)PS: We use this “within home folder only” limitation because otherwise it can get quite tricky with the relative paths to CSV files, subroutine macros and images. But in the future we plan to support absolute paths.

1 Like