This discussion is archived
8 Replies Latest reply: Feb 5, 2013 10:18 AM by ironarm RSS

Can set default value on field with Rule

ironarm Newbie
Currently Being Moderated
I have a rule to set the xWebStartDate to dateCurrent() but it doesn't work. I've disabled all other rules so there's no conflict. This rule is only trying to set the xWebStart date, nothing else.
"Use rule activation condition" is checked. I've selected "Use action" and "Check in Selected". I added the xWebStartDate field and I have a custom default value of
<$dprDefaultValue=dateCurrent()$>
So, this is for content that already exists and someone is checking in a new revision.
I know my rule works, because I added the dDocAuthor field and set it to "infOnly" and that works. This issue happens if the action is Update also. But for new checkins I can successfully set the xWebStartDate to dateCurrent.

Update: This is for existing content, which already has a xWebStartDate. The rule should overwrite the existing value.

Edited by: ironarm on Feb 1, 2013 5:58 PM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points