Validation setting in task list

Hi
I have Project Manager and Project Approver fields in task list. I want to add validation so that Project Approver = Project Manager. Other wise user should not able to save the record.
When I go to Validation settings, I don't see Project Manager and Project Approvers in the column list. Can anyone give suggestions on this?
Thanks

It looks like the fields Project Manager and Approver Manager are Person type fields. These fields are not listed in List validation column settings. An alternative for you is to override SharePoint JavaScript function "PreSaveAction". You can
use JavaScript code to comapre the values in these two fields and perform validation.
Blog | SharePoint Learnings CodePlex Tools |
Export Version History To Excel |
Autocomplete Lookup Field

Similar Messages

  • List Validation for a task

    Using SPO. I need to have the following condition in a task update:
    If the task outcome is approved, the fields in the task cannot be blank.
    However, if the task is rejected, fields can be empty.
    Can this be done using Validation settings for the list?
    Thanks,Farida

    Hi Farida,
    According to your description, my understanding is that you want to set the list validation on the task list.
    I recommend to use the formula below in the Validation settings of the task list(change Field1, Field2 to the name of the fields that the value can be empty or not in the task):
    =IF([Task Outcome]="Approved",IF(AND([Field1]<>"",[Field2]<>""),TRUE,FALSE),TRUE)
    You can add more fields in the AND function based on your need.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Material specification and Inspection plan - Task list usage

    Dear Friends,
    In inspection type  Task list usage is assigned
    For Example
    inspection type 01  -  usage - 03
    inspection type 05  -  usage - 05
    inspection type 06  -  usage - 07
    inspection type 10  -  usage - 06
    In my scenario i want to use all the above inspection type for a product
    if i use mateial specification there is no any problem with my  Task list usage
    If suppose i use inspection plan do i need to create different inspection plan with different usage
    or is it possible to create one inspection plan with all the above usage
    what about universal usage 03  can i use it
    i try to use but system does not triggering inspection lot
    can any one Suggest some ideas
    Many Thanks & Regards
    Raj

    Hi Raju,
    All of first pls understand the concept of Task list and specification.
    If you need to inspection any material in very systematic manner, where you will have well segregated operations where the appropriate Work Centers will be bind and under that hierarchy MIC will be attached. The inspection will be governed by some inspection points. And according the the same Samples will be calculated. When you wanna go with all these functionality then you must have to use Task list (Inspection plan).
    And if you don't wish to have these functions then simply go with the material specification.
    Now it comes the actual query about task list usage.
    If there is a common inspection plan is supposed to be used for all the inspection types for your material then you can prepare only one inspection plan, put ant of the Usage to it it can be 05 or 03 universal. But what you have to do is,
    Go to SPRO->Quality Management->Quality Inspection->Inspection Lot Creation->Maintain Inspection Types Execute and set the Task list usage as the same it is set in the inspection plan for all those Inspection types for which that common inspection plan is supposed to be used.
    Note:- There is no any link between inspection lot creation and task list usage of inspection plan.
    Regards,
    Shyamal

  • FM to change task list status (Tcode IA06)

    Hi all,
    I need a FM to  change the task list status.
    Tcode IA06.. I have got fm to get the status of task list...CP_EX_PLAN_READ..but not able to fine one to change/.
    (Given: Group, Group counter and profile..after this scrrn another screen comes...click the header atb to set the task list status)
    can anyone help me?
    Regards,

    Check this FM - CP_EX_PLAN_READ.
    This gives u all the details .
    CALL FUNCTION 'CP_EX_PLAN_READ'
          EXPORTING
            plnty_imp     = t_mapl-plnty
            plnnr_imp     = t_mapl-plnnr
            plnal_imp     = t_mapl-plnal
            sttag_imp     = t_mapl-aedat
          TABLES
            plko_exp      = t_plko1
            plpo_exp      = t_plpo1
            plmz_exp      = t_plmz1
          EXCEPTIONS
            not_found     = 1
            plnal_initial = 2
            OTHERS        = 3.
    Edited by: Raj on May 27, 2008 10:28 PM

  • Setting Profile Value as default in Task List Initial Screen Profile Field

    I have created a profile for enabling Network Graphic view for operation relationship in PM task list. Whenever i want to create task list i have to enter profile in initial screen to activate Network Graphic view. Can this profile be set as default, i mean whenever i create task list, profile field be filled automatically with predefined value instead of entering profile every time ?

    Yes, you can default this Profile name by use of PIDs
    Not at a system right now - can anyone help with the PID name??
    PeteA

  • Is there any way to set more than one list validation setting?

    Can I set more than one list validation setting without using any coding? It seems strange that you can only have ONE per list (and I don't want just a single column validation).

    Hi,
    You can use the logical operators to realize multiple columns validation like
    =AND(Birthday>DATE(2001,7,1),Location="New York").
    For more details, please refert to:
    http://msdn.microsoft.com/en-us/library/bb862071.aspx
    Regards,
    Seven

  • No valid task list for material ""  plant "" for selection criteria

    I am getting the following error while creating a production order:
    No valid task list for material ""  plant "" for selection criteria
    Does anyone know how to fix this?
    thanks,
    Scott

    Dear,
    1. Check in Order type dependent parameter - OPL8, select your Plant & Order type. In this check the task list, it should be N. then selection priority in OPJF settings
    2. Chek the routing valid from date for this material by CA02. The production order start date must be between valid date.
    3)Kindly check the routing header.Whether it is for usage 1 and Release status '4'
    4) Task list we maintain in OP8B please check and come back.
    Regards,
    R.Brahmankar
    Edited by: R Brahmankar on Nov 19, 2008 9:57 AM

  • Task list or how to install and set up BW 7.0

    Hi Gang!
    I have the privilege of setting up a u201Cvirginu201D SAP BW 7.0 system.
    Does any on have a  u201CHow Tou201D or task list of the required preparatory steps?
    With transaction code or Program?
    For both Basis and BW activities?
    SAP published some very good upgrade guides along these lines, but I canu2019t find a list for a new installation.
    Thank you for your help,
    John Hawk

    Hi John,
    The steps provided by Ravi is for Installing precal Server but I understand your looking for help on primary installation of Frount End BI tool and other Component Installation. As you have mentioned it primary work of Basis to worry about. But for having overview you can look at below mentioned documnets
    Look into Front End Installation guide
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/3a/431e02a4939240b510e851df092c50/frameset.htm
    YOu might me interested to read this interesting piece of information
    http://wiki.sdn.sap.com/wiki/display/subscription/InstallationCheatSheetforWindows-MaxDB
    SAP FRONTEND TOOLS
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417500)ID0690225450DB12415337244344821916End?blog=/pub/wlg/4495

  • Set up of Task list across the plants

    Hello,
    I need to set up the task lists for 9 different plants. Essentially they are the same TL but used in different plants. I am looking for the best approach to set them up.
    Can we maintain a master task list at high level with central planning plant (without a counter) and then assign the same task list to different plants using group counters ? Whenever I am trying to use TL group counter, I have to set up a neww task list completely, this will result into maintaning 9 different task lists even when they are same. Also how do I set it up for a central plant without using counter ??
    Thanks
    Sarang

    Hello,
    Please have Look this Thread might you get some useful out of this [General tasklist across all plants.;
    Regards,
    Rakesh

  • How to set divider line in Project Task List?

    Hi
    Does anyone know how to set the position of the divider line in project task list?
    Thanks

    Hi,
    As I understand, you would like to customize divider line between task list view and grantt view.
    You could press F12 to locate the CSS code of this line, then customize it via CSS style code.
    In addition, the line could move by clicking it via Mouse. If you think Gantt view is not clear enough, you could click Zoom in or Zoom out to adjust it.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Set mail attribute in SharePoint Task List "107"

    We recently migrated to SharePoint 2010 from 2007.  During the migration on all task lists the
    List Settings > Advanced Settings > "Send e-mail when ownership is assigned" radio button got switched to "No" if it was set to "Yes".
     I need to have this switched back to "Yes" on all task lists but have no idea how many of these lists are out there or what their URL may be.  I think I found the attribute that needs to be set...
    # Send e-mail when ownership is assigned?
    $list.EnableAssignToEmail = $true
    I need a script that would query each of the 3 site collections we have for tasks list which I believe is 
    $listTemplate = "107" #Tasks List
    and then set the radio button List Settings > Advanced Settings > "Send e-mail when ownership is assigned" to "Yes".  Any help would
    be immensely appreciated.

    Updating all Task lists is a bit dangerous as there are SharePoint created Task lists like "Workflow Tasks".
    Step 1 is to make sure your PowerShell is selecting the correct task lists. Maybe something like:
    Get-SPSite -Limit All |
    Get-SPWeb -Limit All |
    Select -ExpandProperty Lists |
    Where {$_.BaseTemplate -EQ "Tasks" -AND -NOT $_.Hidden -AND -NOT ($_.Title
    -EQ "Workflow Tasks") } |
    Select Title, BaseTemplate, ParentWebUrl, EnableAssignToEmail
    Once you are confident that you have found the correct task lists then you could use something like:
    Get-SPSite -Limit All |
    Get-SPWeb -Limit All |
    Select -ExpandProperty Lists |
    Where {$_.BaseTemplate -EQ "Tasks" -AND -NOT $_.Hidden -AND -NOT ($_.Title -EQ "Workflow Tasks") } |
    foreach { $_.EnableAssignToEmail = $true; $_.Update() }
    BUT... again be very carful to make sure you are only updating the correct task lists!
    Mike Smith TechTrainingNotes.blogspot.com

  • Collab API: Setting properties on a task/task list

    Anyone know whether it is possible to set a task/tasklist to display in the calendar programmatically? Cant see an obvious way of doing it (and we really need to!)

    Hi Daniel,
    You'll need to use the Server API to set this setting.
    ross

  • General task list with component : creating standard BOM

    Hello,
    When adding a component to a general task list , i get a "create standard BOM" screen , see below for example :
    Standard object PA00000212            
    Plant                                 
    BOM Usage       4                                                          
    Change Number                        
    Valid From           07.09.2009      
    Can someone explain to me the relation between standard BOM and component within a general task list ?
    Thanks,
    P.

    Hi,
    Pls find some of the points below for your referece
    Standard BOM:
    Can used for assigning the material from the BOM to Task list operation
    That is, BOM  components for the object (Equipment, Functional Location , Assembly) can be retrived and assigned to maintenance Task list of the operation
    Condition: BOM corresponds exactly to the content of the structure list
    Free Material Assignment:
    Assigning Stock Material (Material number) those are not listed in the BOM of maintenance object directly to the maintenance task list
    Condition:  Setting to be done as BOM usage for Plant Maintenance (4)
    Path: Maintenance plans, work centers, Tasl Lists and PRTs>>>>>Tasl Lists>>>>>Control Data>>>>Define Presetting for Free Assignment of Material-----BOM Usage as 4
    Pls note that, while making free assignment, system creates an internal BOM  and this can not be processed from application.
    Hope this may useful
    Thanks
    Siva

  • How can I move a task from a Summary Task to another Summary Task in the same task list?

    Hey, I tried to move tasks through the SP UI from one Summary Task to other in the same task list, but I didn't find possibility for it.
    Then I spent time to learn the SP Client Object Model and now I can read tasks form the list. I see every task has a "FileRef" and a "FileDirRef" field. If I think right these fields show the relation between list elements for example between
    a Task and a Summary Task elements.
    I changed these fields' values and I tried to Update the ListItem but I got this error message: "Invalid data has been used to update the list item. The field you are trying to update may be read only."
    I really need to move tasks what were created below a wrong Summary Task so please explain a method or pattern how I can do this. (I can create a new Task below to any Summary Task and I can set field values but I hope there is a way to really move tasks (I
    mean I should change the right field values somehow.).
    I can reach the Task List both on the server and client side so I'm very interested in every solution. PowerShell solution is also good for me.
    I'm using SharePoint 2010 SP2.
    Thank you for your answer and your time. :)
    Csaba Marosi

    Hi,
    According to your post, my understanding is that you want to move a task from one summary task to another in the same task list.
    We can do it like this:
    We can create a Gantt View for this task list, then copy your tasks inside a summary task, then navigate back to the other summary and paste, then go back to original and delete.
    Here is another way for your reference:
    SharePoint vs Powershell – Moving List Items between folders
    http://sharepointstruggle.blogspot.in/2010/07/sharepoint-vs-powershell-moving-list.html
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Create task from conversation thread in news feed - Task must be created in custom task list

    Hi All,<o:p></o:p>
    Have a new requirement
    were user should be able to create a task for himself from a conversational
    thread in News feed.<o:p></o:p>
    In
    SharePoint 2013 we have a functionality where we can follow up on a
    conversation and it creates a task in My Tasks which is in My site.<o:p></o:p>
    But my requirement
    is to create a task in Tasks list in same site collection on click of follow
    up.<o:p></o:p>
    I have
    tried one approach as below :<o:p></o:p>
    My Tasks in
    My site is an aggregated view of all tasks assigned to the logged in user. When
    i follow a task in News feed a personal task is created in My task
    (WmaAggregatorList_User internal name) list. When i Edit the personal task and
    change the Projects
    drop down to the required Project Name and Check -"Make this task public to project
    members" it just creates a task is specific Site and moves
    the task.<o:p></o:p>
    I tried to
    find if Projects and Check box are columns of Task list , but did not find any
    columns.<o:p></o:p>
    I am trying
    to create a event receiver which would make these columns be set to Site Name
    and check box checked so that when user creates a task it will directly move to
    Custom Task list.<o:p></o:p>
    Please
    guide <o:p></o:p>
    Thanks in
    Advance<o:p></o:p>
    Pallavi

    Thank you for your responce. I used a content query wp to rollup only the Major Milestones, but am unable to overlay the results to a calendar.. The link you provided is for overlaying different task lists onto a calendar, but does not detail how to
    overlay the results from the content query onto a calendar.

Maybe you are looking for