Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Field Name Exist in LLValue Object
Gertjan Blom
We are writing attribute class. Fileds are mainly depend upon type of attribute. So while getting fields info how we can find out that fields are there or not?We don't want to loop around enumerateNames to verify field existance.Another option is to determind depend upon type of attributes but if possible i want direct solution like Object.Exists(fieldName)For the time being we have written function which will return true or false using try catch block.Let me know if you have suggestion & also about above workaround.
Find more posts tagged with
Comments
Carsten_Kulms
Message from Carsten Kulms via eLinkAssumed you refer to Java or .NET there is no solution. (C++ LAPIprovides a utility function for this purpose.)The workaround is what you've already implemented.If you will decide to file a feature request at Open Text CustomerSupport please include a reference to this discussion topic and mentionthat you've been told the issue is related to "LPO-373". Thanks!
Gertjan Blom
Can you share information about utility function available in C++ LAPI.We are doing it in .NET LAPI. Then i can also check for same funcntionality available in .NET LAPI or not.Thanks for your reply.
Carsten_Kulms
Message from Carsten Kulms via eLinkThat there exists such a utility function in the C++ LAPI (see documentation for details) but not with .NET or Java is just an `implementation detail?--means: there's simply no equivalent functionality available with .NET or Java. Sorry.