Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
Array missing value in attribute how to identify has_content? — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Array missing value in attribute how to identify has_content?

Accepted answer
4
Views
2
Comments
edited Oct 20, 2019 4:28AM in Digital Assistant and Mobile 2 comments

Summary

Array missing value in attribute how to identify has_content?

Content

I have an array "detailsLines" returned by custom component , it is possible that Description attribute may not be present I am trying to catch that and struggling to make it work, below the syntax i am using, what is i am possibly missing

 

<#if detailsLines.Description.value?has_content> ${detailsLines.Description}\n <#else>no description</#if>

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!