Failed to Execute Inline Script: one or more of the requirements were not found. #911
-
I notice in the meta.targets, all the examples represent an element ID. As you will see here, I am trying to reference a wave component by class. My script is failing and I am getting a console log error in the browser saying "Failed to execute inline script: one or more of the requirements were not found." I know last time this was because I was referencing a class instead of ID, which I still am, but thought this was supported with 0.17! This is how I am referencing the elements' class in meta.
Any thoughts would be helpful! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You probably want On the other hand, if In general, prefix IDs with |
Beta Was this translation helpful? Give feedback.
You probably want
'.ms-DetailsHeader-cellName .cellName-173'
, which is interpreted as "look for an element with class namecellName-173
inside an element with class namems-DetailsHeader-cellName
".On the other hand, if
cellName-173
is an ID and not a class name, use'.ms-DetailsHeader-cellName #cellName-173'
.In general, prefix IDs with
#
and class names with.
. See selectors.