Scripting variable for node "Product code"
-
I am trying to create a script to match the "Product Code" shown in the General info of a device. It is not in the Wiki Node list but I also I tried using $node->productCode and several variations, however, none worked.
I also tried the function GetCustomAttribute($node, "productCode")); with several variations of the name, but all come back null.
Is it any way possible to access this data field?
Thank you!

-
-
print $node->productCode;
should work. What version are you using?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login