Forum Discussion

Azeddin_Margani's avatar
Azeddin_Margani
Contributor
3 years ago

Passing of ImageRepository name or item from excel

 Hi all,  Could someone please tell me how to pass ImageRepository name and or item from excel sheet.  e.g. ImageRepository.name.item or passing both name and item for use in JavaScript.    Ma...
  • AlexKaras's avatar
    AlexKaras
    3 years ago

    Hi,

     

    Try something like this:

    var strItemFullName = 'Imagerepository.imageset.item';

    var Button = eval(strItemFullName);
    Button.Click;

     

    Does this help?

     

  • Azeddin_Margani's avatar
    Azeddin_Margani
    3 years ago

    Hi AlexKaras, 

     

    The use of eval() proven to be working before converting the passed parameter to a string. 

     

    Many Thanks,