Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
Searching Custom2 with SearchCustomAttributes
ManoloMadrid
Hi Forum:
I'm trying to search a Custom2 value in the DMS and I don't know how to do it.
I know how to search a Custom1 value
imanDB.SearchCustomAttributes("custom1_value", imProfileAttributeID.imProfileCustom1, imSearchAttributeType.imSearchExactMatch, imSearchEnabledDisabled.imSearchEnabledOrDisabled, true);
but I don't know how to search for an exact Custom2 value in the availables values for one especific Custom1 Value. I can't replace imProfileCustom1 for imProfileCustom2 because that Custom2 value can exist in the database but related with another Custom1 value.
Any ideas??
Thanks in advance
Find more posts tagged with
Comments
Migrateduser
Once you get the Custom1 (or other parent, Custom 29, Class) value, there is a method under that object that lets you find child objects.
jny
Call the GetChildList Method (off of the returned custom1 attribute). That method has this signature:
IManage.IManCustomAttributes GetChildList(string SearchCriteria, IManage.imSearchAttributeType searchType, IManage.imSearchEnabledDisabled EnabledOrDisabled, bool SearchAtBegin)
Member of IManage.IManCustomAttribute
ManoloMadrid
I'm going to check it but I think that you've solved my problem
Thanks