ComputerMaster86 Posted October 10, 2022 Share Posted October 10, 2022 If owner.component_code references the "Code" data field under object information, what would use to reference a custom object field? I have custom object field named "Panel - Color" Can I even reference a custom object filed. This is in regards to Ruby script / Ruby code. Link to comment Share on other sites More sharing options...
ComputerMaster86 Posted October 10, 2022 Author Share Posted October 10, 2022 I figured it out. I was using the wrong bracket. color = owner.custom_fields["Panel - Color"] Originally I was trying to use... color = owner.custom_fields{"Panel - Color"} Thank You 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now