Permanent variable (for all my projects)

Hi everyone

How do I make a variable(which is going to be data table) that I can use for all my projects so I don’t have to create it again and again with every project I start?

I watched couple of Youtube videos about global variables but I couldn’t make one in my data manager. In videos they just shift the scope from “main” to “global” but I don’t have that option. Only option I have is “main”.

Is there a way for me to do it in Studio X? Or maybe a way to store it somewhere so I can import it in every project I start?

Thank you

Hello

Not the best option but could you store your datatable as a comma separated string in an Orchestrator Asset?

Cheers

Steve

1 Like

@goropopovic

Global variable scope isn’t available in Legacy compatibility project.

Here how you can create it in Windows Compatibility project.

Thanks,
Ashok :slightly_smiling_face:

1 Like

@goropopovic

  1. Global variable is the one which is global for project but not across projects
  2. What you need to create is a common file and read it in every process or create a common asset and use in every process

Cheers

1 Like

Thank you guys!

@Anil_G, thanks for that clarification!
So, if I create global variable it will not be stored in all my projects? It will not appear in future projects?

Can you tach me how to create a common file and read it in every process or create a common asset and use in every process?
Do you mean- to create variable and save project and open that project every time and build new project on top of that?

Thanks!

Have you considered making a template?
Seems like a simple effective way to solve this and not as clunky as trying to read from a common file or asset.

1 Like

@goropopovic

As suggested by @Jon_Smith create a template or a common workflow to reqd the file or asset or even if it is a template then you candirectly use build datatable and add valeus as well and have it

Cheers

1 Like

OK, I’ll try. Thank you guys!

1 Like