Quantcast
Channel: VMware Communities : Discussion List - vRealize Orchestrator
Viewing all articles
Browse latest Browse all 6251

function getAttributeWithKey not found for ConfigurationElement()

$
0
0

In an action, i've got a script that connects to a https end point and pull some data to populate into an input field.

 

so i'm trying to read configuration elements and get this error

 

Error in (Dynamic Script Module name : GetListOfGroups#1) TypeError: Cannot find function getAttributeWithKey in object function ConfigurationElement() {

   [native code, arity=0]

 

Here's my code in the action

 

System.log("starting")
var username = ConfigurationElement.getAttributeWithKey("wfconf.username").value
var password = ConfigurationElement.getAttributeWithKey("wfconf.password").value
var vendorkey = ConfigurationElement.getAttributeWithKey("wfconf.vendorkey").value

 

Trying to figure out where i could be going wrong here.


Viewing all articles
Browse latest Browse all 6251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>