Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Task Due Date default value 1

Status
Not open for further replies.

menu

Technical User
Apr 25, 2001
24
AE
Dear All,

In Task "Start Date" the default value is "Today's Date", however I want to set the default value of the Task "Due Date" to be "Start Date + 7 Days"… can anyone help.

NOTE: Livelink 9.1

Very very New member
happy.gif
 
Thanks Greg for your reply, but what I mean is not the workflow task; it's about the Task object in TaskList Container I thought that we can modify the code in createtask.html located in task_2_2_0\html module by modifying the following lines.

FROM: ;;call <htmlPrefix + 'datefield.html'>( 'DateDue', undefined, TRUE, TRUE )
TO: ;;call <htmlPrefix + 'datefield.html'>( 'DateDue', data.DateDue + 7, TRUE, TRUE )
 
Dear All:
For the sake of sharing the information, I would like to share the following:

To set the default value of the "Due Date" in the Task Item to be for example (Current Date + 7 Days) do the following:
1. Backup %OPENTEXT HOME%\module\ilinkgui_3_0_0\html\0\createtask.html
2. alter the following line:

From:
;;call <htmlPrefix + 'datefield.html'>( 'DateDue', undefined, TRUE, TRUE )

to:
;;call <htmlPrefix + 'datefield.html'>( 'DateDue', Date.Now() + ( 60 * 60 * 24 * 7), TRUE, TRUE )


Admin : if you think this information is no valid/wrong please remove it, forgive me I'm new to LiveLink this is my second month with the system.

Very very new member
 
Good job.But since you have modified this all your tasks now have seven days.If the business need is that well and good.If you have builder see if you can remove the hard coding and specify something like a conditional
Code:
 ;if mytask meets duedate+7 condition
    ;then my modified code executes
  ;else
    ;standard template executes
This is the fun of working with livelink.Enjoy your programming.
Greg griffith's web site has a lot of weblingo customizations,an introduction to debugging core web lingo files.It also talks about customizationRT which is a ampping tool so when you upgarde your cahnges will carry thru also


Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top