Hi,
I would like to ask how can I make a document appear in a calendar view on the days between 2 dates specified in 2 fields? The user will enter 2 date values in 2 date fields. When that document is saved it must appear in a calendar view on the days specified in the 2 fields and on the days in between those 2 fields. How can I do this?
Thanks in advance.
Randy
Subject: How to make a document appear in a calendar view on the days between two specified dates?
Thanks, I’ll take your suggestions…
regards
Subject: How to make a document appear in a calendar view on the days between two specified dates?
Randy
I think the easiest way to do this is to create another field that contains all of the dates between the Start and End Date. Then in your view, use this field as the first column and ensure that you have set the property “show multiple values as separate entries”.
If you need some help with the code let me know, I probably have an example here somewhere.
Ben
Subject: RE: How to make a document appear in a calendar view on the days between two specified dates?
Hello Ben,
I would be very interested in seeing your column code. I’m spinning my wheels trying to do the same thing execept that I am working 4 date fields that I want displayed on my calendar.
Thanks a bunch in advance!
Subject: RE: How to make a document appear in a calendar view on the days between two specified dates?
I did this successfully one time. I don’t have the template to hand but I think it was on the lines of Ben’s answer, and I seem to remember using @explode( dateRange ) in a computed field to get the list of dates.
hth
Richard