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 reset the date to blank in category attribute values
Mahesh_Pinnamaneni
any idea how to set the date value in the category attribue value of Date type to blank?
Find more posts tagged with
Comments
Carsten_Kulms
Message from Carsten Kulms via eLinkFor this retrieve the current category definition and values with theGetObjectAttributesEx function.Then set a Undefined LLValue as the new value for the date attribute bymeans of the AttrSetValues function.And finally store the changed value with SetObjectAttributesEx.
Mahesh_Pinnamaneni
thanks for the info..appreciate if you can post the code.. i have tried different options and tired now..thanks,Mahesh
Carsten_Kulms
Message from Carsten Kulms via eLinkSee attachment(*). The `tool` considers a ? as "Undefined" value, so toreset a date field named "MyDateField" you have to usejava SetCatAttValues {con-parms} {objId} {catId} MyDateField "?"----(*) DISCLAIMER: PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHEREXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIEDWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THEENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITHYOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALLNECESSARY SERVICING, REPAIR OR CORRECTION.