Hello,
I'm trying to create my own device '.custom' script file.
I am able to create my own device. It works fine. But I need to add some code so I try to follow the documentation.
I copied these files to the scripts folder:
Cisco.Router.general.txt.custom was Custom.Device.Template.txt.custom
Client.Custom.Activity.Cisco2911.txt was Client.Custom.Activity.Template.txt
Main.Custom.Activity.Cisco2911.txt was Main.Custom.Activity.Template.txt
I can start my own activity until it should load the Cisco.Router.general.txt.custom
The documention says a level 4 debug appears:
"Loading custom activities for device"
But instead
"Client script error: Type Mismatch: [activity name] on line: [line number]" appears.
I checked the docu and found this.
the device you have selected to run your custom activity against does not have a .custom file defined for it, or |
| • | the .custom file for the device does not contain a function which has been defined in your custom activity client script, or |
| • | a function defined in the .custom file contains an error within the code I cannot allocate my failure. I hope someone can help me. I didn't change any code in the three files above. |
regards sharky