This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- FlexNet Connect
- :
- FlexNet Connect Forum
- :
- re: VBScript custom condition
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2006
10:43 AM
VBScript custom condition
Ok I have recently been thrown into taking care of our FLEXnet connect stuff and I have to get a custom condition working in VBScript.
I feel like a complete idiot/noob but whenever I try to write my custom action, no matter how simple I try to make it, I get this error message
Please Provide at least one VBScript function(s).
What am I doing wrong?
I feel like a complete idiot/noob but whenever I try to write my custom action, no matter how simple I try to make it, I get this error message
Please Provide at least one VBScript function(s).
What am I doing wrong?
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2006
10:46 AM
Hi ncaron,
When you're posting your VBscript to the publisher website, you need to specify the main entry point to your custom VBScript. Otherwise, the agent won't know which of your methods to call to kick off your custom condition.
Regards,
Kelly
When you're posting your VBscript to the publisher website, you need to specify the main entry point to your custom VBScript. Otherwise, the agent won't know which of your methods to call to kick off your custom condition.
Regards,
Kelly
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2006
10:50 AM
Ok... I have to admit I'm a VBScript noob...
How do I do that?
Let's say for example I want to create a vbscript function that just pops a msgbox saying hello... how would I do that in the FLEXNet context?
How do I do that?
Let's say for example I want to create a vbscript function that just pops a msgbox saying hello... how would I do that in the FLEXNet context?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 14, 2006
10:57 AM
Just simply wrap your VBScript lines in a function or sub call and specify that method name when creating your condition.
For example,
Function myPopup()
MsgBox "Hello there!", 1, "Greeting Popup"
End Function
Then your method name to add to the publisher (when you're pasting your code) would be "myPopup".
More details can be found at:
http://helpnet.macrovision.com/robo/projects/updateservice60/Creating_a_Custom_Condition_Using_VBScript.htm
Regards,
Kelly
For example,
Function myPopup()
MsgBox "Hello there!", 1, "Greeting Popup"
End Function
Then your method name to add to the publisher (when you're pasting your code) would be "myPopup".
More details can be found at:
http://helpnet.macrovision.com/robo/projects/updateservice60/Creating_a_Custom_Condition_Using_VBScript.htm
Regards,
Kelly