UI shell task list: Showing a tree hierarchy in Regional Area

Hi,
We have a requirement where we want a tree to be displayed in the menu model as task list links and clicking on any node in the tree should open up a task flow in the local area.
Given below is one example, in the task list in the UI shell (Regional Area) and the tree should also appear as a link and on clicking any of the nodes should call a task flow with the context getting passed.
A
B
C
Please let me know if you have any idea on how to achieve this functionality.
Thanks,
Rakesh

Hi,
I can't to this time share the whole document or sample. However, the way to do this is quite simple. The document I pointed you to actually contains the soluion (though not in code)
1. Create a managed bean with method for lauching each of the task flows you want to launch (e.g. openCreateDepartmentBTF, openUpdateEmployeesBtf).
2. The managed bean method then uses the the TabContext as shown in the example below
//clicking the link in the customer tree or using the context menu
    //opens the selected customer orders task flow in a new tab in the
    //UI Shell template
    public void openCustomerOrdersTab(ActionEvent actionEvent){       
      //the tree node for customers is a command link
      UIComponent link = (UIComponent) actionEvent.getSource();
      //the command link as custom attributes defined to pass arguments
      //to the task flow. The customerName attribute is a display string
      //to show as the tab title
      String customerName = (String) link.getAttributes().get("customerName");
      //the task flow requires the customer ID as a query parameter
      Object initialQueryArgument = link.getAttributes().get("initialQueryArgument");
      //arguments must be passed in a HashMap to teh task flow to be generic. The UI Shell tab
      //context class is passed implicit
      HashMap taskFlowParameters = new HashMap();
      taskFlowParameters.put("initialQueryArgument", initialQueryArgument);
      taskFlowName = "/WEB-INF/customerOrdersCRUD/customerOrdersCRUD-btf.xml#customerOrdersCRUD-btf";
      //call a private method that accesses the TabContext class to open a new tab
      this._launchActivity(customerName+" Orders", taskFlowName, taskFlowParameters, true);
      this.showInnerToolbar();
    }3) Create the tree similar to
<af:tree value="#{bindings.AllCountries.treeModel}" var="node"
     selectionListener="#{bindings.AllCountries.treeModel.makeCurrent}"
      rowSelection="single" id="t1" autoHeightRows="35">
      <f:facet name="nodeStamp">
              <af:commandLink id="cl4" text="#{node}"
                                           rendered="#{node.hierTypeBinding.viewDefName == 'oracle.summit.model.views.CustomerVO'}"
                                           actionListener="#{tabShellLauncher.openCustomerOrdersTab}"
                                           clientComponent="true">
                                          <f:attribute name="initialQueryArgument"
                                                                         value="#{node.id}"/>
                                          <f:attribute name="customerName"
                                                             value="#{node.name}"/>
                    </af:commandLink>
         </f:facet>
</af:tree>                                                    If you need different command links for different nodes in teh hierarchy, you can add them all and then set its rendered property to
rendered="#{node.hierTypeBinding.viewDefName == 'oracle.summit.model.views.CountryVO'}"
In the above sample, the command link only renders if the VO is CountryVO in the specified package
Frank

Similar Messages

  • Task List - Show Related Item URL in the EditForm.aspx

    Hello guys,
    I have a document library and a task list, I used a script to open the task directly in EditForm.aspx
    (so the approve\reject buttons will be available directly on the form)..
    what is happening is i'm not able to display (Related Item) link in the EditForm.aspx, it is available only in the DispForm.aspx.
    Thanks.
    Imad El-Qasem

    Hi Rajani,
    as simple as this, SP workflow is associated with the library, when the document status is "closed" Task will be assigned to a user.
    in the tasks, the related item will appear only on the Dispform.aspx but not on the Editform.aspx.
    how to display related item in the Editform.aspx task form
    Thanks

  • How to make list show up "selectively" on different regions?

    Hi,
    By default, "list" is in the Shared Component.
    Is there any way I can make the "list" NOT shared? Meaning that I want to control which "regions" the particular "lists" will show up or not.
    For example:
    On my APEX Home page, I want to have 5 Forms (Form1-From5) for the user to select from. And each Form contains 3 sub-forms: New Entry, Update and Delete.
    So on the Home page, I defined 5 regions (for Form1 - From5), and within each region, I have 3 "lists" for New Entry, Update and Delete and in turn each list calls appropriate form to perform "New Entry", "Update" or "Delete" accordingly. It looks something like the following:
    Form1
    Form1NewEntry Form1Update Form1Delete
    Form2
    Form2NewEntry Form2Update Form2Delete
    and so forth.
    However, since the "list" is shared components, whatever lists that I define in Form1 show up THROUGHOUT ALL 5 forms, that is "Form1NewEntry" and "Form1Update" and "Form1Delete", which is NOT what I want. Is there a way I can use "Condition" to make the "lists" show up in "region" (NOT page) selectively? And how (since there are MANY options in the "Conditions")?
    Or if not, could you suggest the alternative way of doing it? (ie: Form1 -> subformNewEntry
    -> subformUpdate
    -> subformDelete)
    I have an important demo coming up shortly. And this is our FIRST Apex application in the company to show its usability.
    Greatly appreciated,
    Helen

    I have a similar requirement. I have several tabs (Operations, Maintenance, Safety, etc.) and users get individually assigned rights. I have a table where I have all the users listed and I added one column for each tab so I can set whether or not that user has access to that tab. You could go the same thing with groups if you want.
    Basically, my table looks like this:
    USER_ID, USER_NM, PWD_HASH, SAFETY_TAB, MAINT_TAB, OPER_TAB, etc.
    where each of the _TAB fields is set up as a VARCHAR2(2) for just Y/N.
    On my home page, I assign an APPLICATION_ITEM called G_USER_ID (Global User ID) on login so I can track who it is. Then I set the condition statement on the tab to SQL QUERY RETURNS AT LEAST ONE ROW
    using the following query:
    select SAFETY_TAB from APEX_USERS
    where SAFETY_TAB = 'Y'
      and USER_ID = :G_USER_IDThis example would be for the Safety tab, but you can easily substitute others. It works pretty slick.

  • New DMS document attachment to order header - can it also be done to a task list?

    With business function LOG_EAM_CI_6, you can now attach DMS documents to the order header or operation level in the 'Additional Data' tab.
    Since a lot of clients use documents to list complex preventive maintenance instructions, is it also possible to attach a DMS document to a task list header (or operation) and have it show up in the new 'Additional Data' screen area of the resulting order (using a maintenance item/plan to generate the order)?  Or do we still have to use the task list operation PRT functionality and have it show up in the order's operation PRT?

    Hi Arthur,
    I have configured Task list as per the SAP note 1821916  & activated DOC_TL_GUI. This allowed me to attach documents to the Operation &/or Header of the Task Lists. The problem I am facing is when I assign the task list to the work order the documents are not transferred . You have stated that they have transferred to the work order so I am wondering if there is something I missed.
    Arthur Balajthy wrote:
    And I checked that by adding documents to a task list header or operation, the work order generated from a maintenance plan/item referencing that task list does have those documents attached also.
    I haven't tried from a Plan but will do that now.
    I assumed if they were attached to the Task List Operation they would transfer to the Work Order like everything else on the Task List
    Thanks in advance

  • Browser enabled InfoPath form not opening in browser from a link in a Task list

    I have a browser enabled InfoPath deployed to SharePoint as a template in a Forms Library. The form opens in the browser when a user navigates to the Form library and clicks New.
    There is an Approval workflow associated with this form which kicks in whenever a new Form is submitted. The workflow creates a task in a task list. The task list shows a Link column which provides the link to open the form. Now, when a user clicks on the
    link (in the Task list), the form always open in InfoPath instead of opening in a browser.
    I see that the URL for the form (http://<Server>/Training/Enrollment%20Forms/<FormName>.xml)  is same in both the Forms Library and Task list link.
    What am I doing wrong or what do I need to do to make the form open in browser from the Task list link.
    Thanks
    Rajat

    This question is asked constantly - we just discussed this last week, I believe - so you can probably find a lot more discussion to help you out if yous earch within this form or browse through the topics.  The reason for your issue is because of
    what you just wrote - the URL is directly to the XML file, so it tries to invoke InfoPath.  Browser forms are rendered by Forms Services, which has a much different URL.  Go click on one of your existing forms, and notice how different the URL is. 
    To get forms to open in the browser when invoked from a different location, you must use this full Forms Services URL.  Built-in workflows only generate a link to the XML file, and since the task in a different list than the form, then it has no idea
    how to open the form in the browser.  Only users who don't have InfoPath installed will see it in the browser automatically.  This is why I generate my own URLs dynamically with custom workflows and don't use OOTB workflows.SharePoint Architect || Microsoft MVP ||
    My Blog

  • Workflow Created Tasks not showing up in My Tasks

    I'm relatively new to SharePoint and am having trouble with the My Tasks list in SharePoint 2013.  Tasks created manually in any task list show up in My Tasks as expected.  However, tasks that are created by a workflow using create item in list
    for that same list do not appear in My Tasks.
    This is true for both tasks assigned to a group and tasks assigned to a specific user.
    It has proven frustrating to attempt to google this issue.  
    Any suggestions?

    Hi briandoyle,
    Did this happen to all users that the tasks created by workflow aren't displayed in users' My Tasks in MySite?
    Have you run a full crawl from Search service application, and also check if creating a new task view with filter option include group, and the following posts should be useful you can check.
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/4959c10b-c1f3-4051-acf6-acf5135ac0cd/workflow-tasks-not-visible-in-my-tasks-list?forum=sharepointgeneral
    http://blogs.perficient.com/microsoft/2012/09/sharepoint-2013-task-management-in-my-sites/
    Thanks
    Daniel Yang
    TechNet Community Support

  • "Send e-mail when ownership is assigned" SharePoint 2013 task list

    I've found that the option to "Send e-mail when ownership is assigned" isn't available in SharePoint 2013 (enterprise) task lists. I've found that this functionality is now included the 'issue tracking' list template.
    I'm unsure why this very useful feature has been removed from the task list template. I’ve tried adding the task content type to an issue list; this works fine and the notification is sent. However, the new ‘task aggregation’ feature
    in mysite only picks up items in an task list, so those items stored in issue lists get ignored. Fairly frustrating. 
    I wonder whether anyone from MS can fill me in on when this feature has been removed? 

    Here's a way to enable it by PowerShell:
    http://bernado-nguyen-hoan.com/2013/04/26/enable-email-notifications-for-tasks-list-in-sharepoint-2013/
    Although this works, are we now expected to teach users who create Tasks and want to automatically notify all involved via e-mail Powershell skills? MS really needs to take a second look at this faux pas and bring the "Send
    e-mail when ownership is assigned" option back.

  • Inconsistency with maintenance cycle and task list phases in ChaRM

    Hi Experts,
    I'm deploying ChaRM with SolMan 4.0 SP09.
    I was testing a scenario where there are more than one maintenance project open for same landscape (different logical components but values are the same). I have been using maintenance cycle document (in crmd_order) to control phase changes both in task list and in maintenance cycle.
    I received an error message stating that the system has reset the status of the maintenance cycle and the end result was that task list phase is one step ahead of the maintenance cycle. This of course causes the situation where certain actions are no longer possible (maintenance cycle in Dev with release but task list already in test => release and import are not possible and reseting phase with task list is prevented by ChaRM).
    My question is how do I restore the inconsistency. I have looked for notes (but of course this is not a notes issue) and the internet for solution.
    I am very greatful for any hints you may give me!
    Kind regards,
    Auli

    Thank you!
    Exactly what I'm trying to do. I'll give it a go and get back to you asap.
    BR
    Auli

  • Md04 not showing Overview tree

    In my case  MD04 is not showing the overview tree.
    First case
    For material x if i put Plant  and MRP area same then its not showing the overview tree.
    Second case
    When i put MRP area (as per configuration ) and plant in this case it is showing the overview tree.
    please suggest.

    Dear Amit,
    system is giving correct results,
    if your order will show the tree in which mrp area it is.
    now suppose you dont put any MRP area in the intial screen and put plant only. then system will consider that plant same as mrp area.
    now if you put the the MRP area and the respective plant.
    orders in that MRP area will be shown. and order is is only shown when there is pegged ordes to that order.
    in your case there may not be dependant orders.
    and you cant see the same orders in 2 cases you told.

  • PM - Send Task List via ALE

    Is there transaction for sending General maintenance task list (IA08) via ALE? I need to send Task list with Operations and Characteristic. There are similar QM t-codes like QM21, QM31, QM41 but I can't find releated t-codes for PM.

    Dear
    Please check in OPL8 - Order Type Dependent Parameters ,what's the Task List
    selection. It must be 3 for Routing/Ref.Operation Set Optional - Automatic
    Selection.Please check the same for your order type which you were trying to
    check.
    Also check in OPJF - Task List Selection - Select Automatically,whether the
    entries has been made properly.
    Regards
    JH

  • Outlook task list sync ?? Calender invite ??

    1. Does anyone have a solution to sync outlook task list with iphone? Mail, Calender, Contacts are well synced except for task list.
    2. How does one send an invite from iphone calender. I could not find a way to add invite list email addresses.
    Any help would be appreciated.

    An answer to the Syncing of Task might be solved by an iPhone app called KeyTask. I have not tried it yet but what I have read about it seem good if you do not mind your task information being on the internet. It basically works like MobileMe....

  • 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

  • Integration between Custom list and task list

    Is it advisable to provide solutions for the integration between custom list and tasks list in SharePoint?
    I am working on a scenario where the data has to be segregated between multiple lists and there will be transactions among these lists using workflow. Some of the capabilities in Tasks list like due date notifications, calendar, tracking are needed
    on the transaction. Since these lists are based out of different content types, is it advisable to choose these lists for solutions?
    When we have to make few updates through workflow from custom list to tasks, will there be any problem in the transactions as it is two different content type?
    Vijayaragavan, MCTS

    Since SPLists and SharePoint workflows don't provide inherent
    support for transactions, you have to handle rollback operations yourself.
    The easiest way to simulate a transaction is to read in the state of any list item you are changing prior to executing an update, and then write that state back should you detect a failure. It's not a perfect solution, since a sufficiently severe error might
    prevent your rollback updates as well. That's the price you pay for not having the data store support transactions.
    That being said, while it's true many clients will ask for business critical data to be stored in SPLists, I would argue that it's your job to convince them that it's not a good idea, and that transactional databases accessed over webservices are a much safer
    SP compatible way to store important data - from
    stackoverflow
    [custom.development]

  • Need 2 metadata fields from item I am running a approval workflow on to show up on the task list

    I have document library "A" that contains many documents with 6 columns of metadata. I have a simple approval workflow for the library that works as it should in functionality. My users would like it if 2 fields of metadata from the items in library
    "A" would show up in the Task list so they could track the tasks by the 2 fields. Can anyone point me in the right direction here to make this happen? Working in SP2010 with Designer 2010 and IP 2010.
    Thanks 

    Hi Ross,
    According to your description, my understanding is that you want to display two managed metadata fields in the associated tasks created in the approval workflow.
    I recommend to edit the approval workflow in SharePoint Designer and new two task fields to display the two managed metadata fields.
    Here are the detailed steps:
    Open the approval workflow in SharePoint Designer and click Approval in Start Approval Process step.
    Click New to create two task form fields in single line of text type.
    Click Change the behavior of a single task under Customization.
    In Before a Task is Assigned step, select Set Task Field under Task Behavior Actions and then set the newly created task form fields to get the values in the managed metadata fields of current item.
    Please refer to the picture below(create a task form field called Managed Metadata for example and mm is the managed metadata column in the list):
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Custom ribbon button does not show for a Tasks list

    I created a simple app using Visual Studio 2012 to add a custom ribbon button for a tasks list. After deploying the app to the SharePoint online, the button does not appear on the ribbon. The exact same button gets displayed properly
    when added to the ribbon for a custom list.  The elements file with the location of the button gets generated, so I can't imagine it would be wrong, but just in case, this is what I have:
    <CustomAction Location="CommandUI.Ribbon"....
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">...
    Any help is greatly appreciated.
    One more thing, if I add this button using SharePoint Designer 2013, the button does not get displayed either. I have a feeling it might be problem with the Tasks list?
    Thanks

    Hi Danny,
    The button needs to be displayed only for one specific list. And as I mentioned, the elements file for the ribbon button was generated by VS, here is the content:
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="02aa4c3b-bb73-4dfa-989c-d63a9591dcee.RibbonCustomAction" RegistrationType="List" RegistrationId="{$ListId:Lists/Projects;}" Location="CommandUI.Ribbon" Sequence="10001" Title="Create Project Site">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="Ribbon.ListItem.Actions.RibbonCustomActionButton" Alt="Create Project Site" Sequence="100" Command="Invoke_RibbonCustomActionButtonRequest" LabelText="Create Project Site" TemplateAlias="o1" Image32by32="_layouts/15/images/placeholder32x32.png" Image16by16="_layouts/15/images/placeholder16x16.png" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="Invoke_RibbonCustomActionButtonRequest" CommandAction="~remoteAppUrl/Pages/Default.aspx?{StandardTokens}&SPListItemId={ItemId}&SPListId={ListId}"/>
    </CommandUIHandlers>
    </CommandUIExtension >
    </CustomAction>
    </Elements>
    If the same button is added for a custom (not a Tasks) list, the button shows up fine.
    Thanks

Maybe you are looking for

  • Authorized DHCP Servers not showing up in Authorized list.

    I have used ADSI edit to validate that the correct servers are under: CN=NetServices,CN=Services,CN=Configuration,DC=Domain,DC=com Currently we are in 2003 R2 mode for the Domain but all of our DC's are Windows 2008R2. I did find a value for showInAd

  • Pdf for printing

    the pdf cuts the bleed off. how does the printer capture the bleed necessary for printing?

  • Itunes show we are experiencing a problem activating your iphone

    itunes show we are experiencing a problem activating your iphone after update to 4.2.1 from 4.0 iphone 3gs

  • Cisco 2504 Domain Authentication for WIFI Clients

    I got a question. I have a 2504 controller, and a bunch of 3600 APs. (which now works, thanks to Scott Fella) I want the WIFI users to be able to connect to the WIFI, If their computer is part of the domain. Otherwise, they connect to the guest WIFI.

  • HOW DO I START THREADS ALL AT ONCE? please help!

    HI! I was just wondering if anybody knew how to start threads all at once. There is the treadgroup stuff but the only method I see there is threadgroup.resume I would like something analogous to threadgroup.start any ideas? thanks, - cunduro