Alter Dates
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Microsoft Content Management Server > Alter Dates




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Alter Dates  
Gabriel Pravaz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-07 12:19 AM

Hello

I'm new working with cms,

i received a work where i have a process that does a loop between all the
postings from a posting collection on a cmsApplicationContext.

The new thing the customer wants is to update the "isModified" date if it
complies with a condition. Doing that, I get an error saying that isModified
property is read-only, thing that makes sense, but now i don't know if its
possible to do that.

any ideas?

thank you very much.

Gabriel Pravaz







[ Post a follow-up to this message ]



    Re: Alter Dates  
Mei Ying


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-07 06:21 AM

Hi Gabriel

The last modified date field is a system field and can't be changed via
code. Perhaps what you could do is to create a custom property and
update/display that instead. You could have an event handler update the
custom property each time a posting is modified based on the required
business rules.

regards
Mei Ying

"Gabriel Pravaz" <gabrielpravaz@hotmail.com> wrote in message
news:Okp3TJoZHHA.4620@TK2MSFTNGP05.phx.gbl...
> Hello
>
> I'm new working with cms,
>
> i received a work where i have a process that does a loop between all the
> postings from a posting collection on a cmsApplicationContext.
>
> The new thing the customer wants is to update the "isModified" date if it
> complies with a condition. Doing that, I get an error saying that
> isModified property is read-only, thing that makes sense, but now i don't
> know if its possible to do that.
>
> any ideas?
>
> thank you very much.
>
> Gabriel Pravaz
>
>







[ Post a follow-up to this message ]



    Re: Alter Dates  
Gabriel Pravaz


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-15-07 06:23 PM

Thank you Mei


"Mei Ying" <someone@anonymous.com> escribió en el mensaje
news:O5jlNIsZHHA.4552@TK2MSFTNGP05.phx.gbl...
> Hi Gabriel
>
> The last modified date field is a system field and can't be changed via
> code. Perhaps what you could do is to create a custom property and
> update/display that instead. You could have an event handler update the
> custom property each time a posting is modified based on the required
> business rules.
>
> regards
> Mei Ying
>
> "Gabriel Pravaz" <gabrielpravaz@hotmail.com> wrote in message
> news:Okp3TJoZHHA.4620@TK2MSFTNGP05.phx.gbl... 
>
>







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:30 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register