hi,
check the article hope this signifies solution.
http://akshaya-m.blogspot.com/2009/07/replacing-time-field.html
On Thu, Jul 16, 2009 at 2:33 PM, trufflebadgerpie <
trufflebadgerpie@yahoo.co.uk> wrote:
>
>
> Hi,
>
> I have already done something similar to this using SharePoint Designer
> Workflows. I had a list of timeslots (with start and end times) which I then
> added as a select list to my calendar appointments. My workflow made the
> appointment "snap" to the selected timeslot's start and end times.
>
> There is a function in SPD workflows which allows you to add a specified
> number of minutes, hours or days to a date, and another one which allows you
> to set the time portion of a date. I used a combination of these two
> functions. You can store these values in workflow variables during the
> workflow and then update the item at the end of the workflow when all
> calculations have been performed.
>
> BTW I did get looping problems when I added the workflow to be initiated on
> change of the item as the workflow was updating the item, and therefore
> initiating the workflow again, and so on...!
>
> Hope this helps!
>
> --- In sharepointdiscussions@yahoogroups.com<sharepointdiscussions%40yahoogroups.com>,
> Peter Brunone <peter.brunone@...> wrote:
> >
> > Oh, okay; so you're not talking about replacing the field itself, but
> rather
> > updating the value of the original end time field... correct?
> >
> >
> > On Wed, Jul 15, 2009 at 10:58 AM, Tom <tomsrig@...> wrote:
> >
> > > Hi, Peter,
> > > The normal SharePoint calendar, which has a start and end time field,
> in my
> > > application it has to insert a new calculated end time into the normal
> > > calendars end time.
> > >
> > > The effect of this is that the calendar events will now display the new
> > > durations.
> > >
> > > I'm not sure I made that clear, Peter.
> > >
> > >
> > >
> > >
> > >
> > > --- In sharepointdiscussions@yahoogroups.com<sharepointdiscussions%40yahoogroups.com>,
> Peter Brunone
> > > <peter.brunone@> wrote:
> > > >
> > > > What effect do you want it to have? It's not hard to change fields in
> > > > views, etc.
> > > >
> > > > Peter
> > > >
> > > > On Wed, Jul 15, 2009 at 9:36 AM, Tom <tomsrig@> wrote:
> > > >
> > > > > Hi, all,
> > > > >
> > > > > Situation: I have a regular calendar on my main page. I have added
> a
> > > > > Calculated field in the calendar list to represent a new "end
> time",
> > > dirived
> > > > > from another field configured as a number field that represents a
> "time
> > > > > offset". The calculated field works properly to come up with a new
> end
> > > time
> > > > > based on the formula I wrote in there.
> > > > >
> > > > > Requirement: I want to take that new "end time" and insert it into
> the
> > > > > regular calendars end time field, in effect - replacing it.
> > > > >
> > > > > Any clever way to do this? A workflow perhaps?, I don't have the
> skill
> > > yet
> > > > > to write custom code.
> > > > >
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> > >
> > > ------------------------------------
> > >
> > > Yahoo! Groups Links
> > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
--
Regards-
Akshaya..
[Non-text portions of this message have been removed]
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/sharepointdiscussions/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/sharepointdiscussions/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:sharepointdiscussions-digest@yahoogroups.com
mailto:sharepointdiscussions-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
sharepointdiscussions-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/