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
DateEffective and DateExpiration in Create a New
Fernanda_Formia
I'm able to create a new in a channel, but I'm not able to make "Active" the status of this new.The status is always "Pending", even if the format date of the news is the same of (and obviously previous than) the format date of the server.Can someone help me?Best regards,Luca
Find more posts tagged with
Comments
PorteraAdmin_(Delete)_1813013
This seems to be a bug in LAPI. DateEffective and DateExpiration do not get set. I ended up using SQL to update the items after creating them.
Fernanda_Formia
Thanks,Portera.I ended up using this C code:LLDATE datEffective;..time(&dateEffective);...LL_AssocSetDate(request,"DateExpiration",dateExpiration);