How to import script with nupkg downloaded from Orchestrator to view all activities

Dear Team,

My colleague has created a script and published to orchestrator. He later downloaded the script as package from orchestrator and provided me nupkg file. I have converted into zip and and navigated to content folder and clicked main.xaml file , this is opening UI path studio with script loaded. But my real problem is seems like script is binded or not showing complete flow I am not able to view all the activities so that I can add more activities or flow to this script or do a bug fixes

@hvishwaradhya

  1. Request Original Files: Ask your colleague for the original UiPath project files.
  2. Extract the Package: If you only have the .nupkg file, extract its contents using a tool like 7-Zip or WinRAR.
  3. Open UiPath Studio: Launch UiPath Studio.
  4. Create a New Project: Start a new blank project in UiPath Studio.
  5. Import Files: Import the extracted .xaml files and other related files into your new project.
  6. Review Workflow: Open the main .xaml file in UiPath Studio to see the complete workflow.
  7. Modify as Needed: Add new activities, edit existing ones, or fix any bugs in the workflow.
  8. Update Dependencies: Check if there are any external dependencies and update them if necessary and also update a packages.
2 Likes

Hi @hvishwaradhya ,

Looks to me like a dependency related issue. Please check the projects panel of the studio after opening main.xaml

You can resolve by the dependency issues by updating the packages or installing fresh as required from the manage packages icon at the top panel.

Take a snap of projects panel in such a way that the name and version of packages are visible if you need any more assistance in the above steps i have provided.

Check and let me know if you have any more difficulties.

Happy automating.

Thanks,
Gautham.

1 Like

Guys please find the snap shot for reference in which after loading the package I am not able to expand or view the activities as shown in the pic for “Retry scope” and “Check false”. There are multiple activities hiding inside Retry scope

Hi @hvishwaradhya ,

Please check the version values of packages that project requires in the orginal code against the version in the location where you want to modify

Try copying the project.json file from the source folder to your system and restrt the studio.

1 Like

Found out one major discrepancy, these errors will come in following scenario

  1. UI path Studio version mismatch - I mean if you develop scripts on one version and import in other version
  2. Even after importing on a machine which is heaving same version as developed but there might be package dependency which we need to upgrade or downgrade to clear all the compilation errors or package error.

Thanks again for providing inputs , now my issue is solved and hence closing this thread

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.