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
How to setAttributes for DATE type with TIME FIELD ~ URGENT
ImvecUser1_(Delete)_2148388
I am using LAPI9.0.0 with VB to build an application which is to create a document with category inheritance from the parent folder. When I am about to set a date attribute with time field, errors occur. Here is the code:dim strDateValue as longdim attrValues as longll_valuealloc attrValuesstrDateValue = DateDiff("s", "01/01/1970", Format(Left(str_CheckDocAttrInfo(j), 10), "mm/dd/yyyy")) + CInt(Mid(str_CheckDocAttrInfo(j), 12, 2)) * 3600status = LL_ListSetDate(attrValues, 0, strDateValue)I know we need to use ll_ListSetDate in order to set the date into the attrvalues. It DOES work if we apply on a date field without time field. But error occurs if time field is enabled. This is pretty urgent. Please advise.Thanks a lotJovi
Find more posts tagged with
Comments
There are no comments yet