Linking tasks in schedullingGantt pojo based

Hello dudes,
I made schedulling gantt based on pojo, as in adfFacesDemoApp. I want to join some tasks with line, as I read the docs, it looks like should be possible, but somehow doesn't work for me.  I have class TaskDependecy.java as in adfFacesDemo. If i put breakpoint on
public class TaskDependency {
    private Task m_from;
    private Task m_to;
    private String m_type;
    public TaskDependency(Task from, Task to, String type)
        m_from = from;
        m_to = to;
        m_type = type;
    public String getFromId()
*        return m_from.getTaskId();
debugger stops. It means gantt tries to find dependencies, but somehow fails to draw them. Any ideas how to fix? Is it really possible to link tasks in scheduling gant?

I'm not entirely sure I know what is going on here but I think I have an idea.
POJO datasources use a 'push' data model which means that you are responsible for gathering the data and pushing it into the report. This means the data must be collected and be ready when the report is run.
When you embed the subreport inside the main report you are able to push the data into the subreport at the time of rendering.
When you link the report you are saying that you only want to run the when you click on the report. In this case you have to wait for the end user to click on it. I'm pretty sure that Crystal Reports won't prerun the report so that the POJO data will be available.
When the subreport link link gets clicked the engine will go and look for the data but it will no longer be available. Does that make sense?
<a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

Similar Messages

  • How to create dynamic table using POJO based DataControl

    Hi,
    I'm using JDeveloper 11.1.1.5.0. I'm not using ADF BC.
    I've a requirement to display the Dynamic table in my search page.
    In our product we are using POJO based Data controls.
    I created a task-flow and page fragment. I tried to create the dynamic table by drag-drop of searchResults from my Data control, I see the option for Read-Only Dynamic Table, but when I select this option, I don't see anything happening.
    Does the Dynamic Table work with POJO data controls?
    Any inputs would be helpful.
    Thanks
    Ravi

    First U have to crate Extended View Object to your actual View obj.
    Now take Page with Panel  Splitter ,on First facet drag View obj as table and on second Facet Drag Extended View Obj as table.On page loading U have delete all rows from Extended View object.And then u have write bean code on button click to get current select rows from above view objct,and for Filter rows from Second View obj according to selection of rows from first view obj...

  • Different links in the detailed navigation, based on URL alias

    <u>What I'm trying to do :</u>
    Based on URL aliases /irj/portal/individual or /irj/portal/business
    I will dynamically add an UME group to the already logged in user.
    <u>Filter :</u>
    If clicking on /irj/portal/individual I will store "group=individual" in the context, and add UME group individual, if clicking /irj/portal/business I will store "group=business" in the context, and add UME group business and remove individual, and then redirect to the same URL.
    <u>Configuration</u>
    Each UME group has a one-to-one mapping to a Portal role.
    I will place an ACL on the PCD content, based on group, hiding/showing aggregated folders, hanging under the roles.
    <u>Wanted end-result</u>
    Different links in the detailed navigation, based on URL alias.
    <b>My question is how you would implement the filter part, mentioned above ?</b>
    Portal app or J2EE servlet filter or something else ?

    Hi sunil,
       Create a JSPDynPage component(C) having 2 hbj:link whose hrefs point to these 2 iViews(A and B). U can get the href of the iView by previewing it(for A and B). Create an iview from the par component (C) and add it to the DLN so that it shows the links to ur iViews(A and B). U can make the Show Tray property of this iView (C) to false.
    Regards,
    Harini S

  • Link to an external website based on form item

    Hello,
    How to create a link to an external site based on the value of a read only item in a form?
    I have a read only form (not a report because of layout issues) which presents address information. One of the items contains a site-address. Is it possible to present this field in a way users can click on it to navigate to the site?
    Thank you,
    Philip

    Thank you Varad,
    The data source for the item P21_WEB_SITE is a database column (a varchar2(100) ).
    I created a second item where the data source is based on a PL/SQL Function Body:
    declare
    lv_return VARCHAR2(500);
    begin
    lv_return := '&lta href="http://'
    ||:P21_WEB_SITE
    ||'/"'
    ||'target="_blank"'
    ||'&gt'
    ||:P21_WEB_SITE
    ||'&lt/a&gt'
    return lv_return;
    end;
    Property Display as = Display as text (does not save state)
    So problem solved !
    Philip

  • MS Project 2003 Pro - Link task from other Project files

    Starting yesterday I wanted to find a way to link a task in one Project File to a task in another Project File. The idea being I have a Site Development Project File, and wanted a certain task in that schedule to drive tasks in individual House Development
    Project Files so we wouldn't need to use one large cumbersome Project File for the entire Development. So like other users I've read about I tried copy task and paste special into an existing task cell, a predecessor of other tasks, which of course resulted
    in the "OLE Paste operation cannot be completed" error. So as a test I saved two Project files, Project1 and Project2. I then tried to "Paste Special" into a "New Task" row, which was instead empty and found that would work without
    the OLE error, except the linked task's Predecessor copied with the linked task so it's predecessor was now that numbered task within Project2 which I didn't want. So looking at Project1 since I set them both up as one parent task with five subtasks for simplicity,
    I copied the parent task from Project1 (no predecessor) into a blank Insert / New Task row in Project2, then made the linked task a predecessor to the next task below and voila! Viewing the two Project Files in Window / Arrange All, when the duration of one
    of the Subtasks in Project1 is adjusted, it drives the overall duration in Project2 just like I wanted. So while most of you may already know this trick, as I could not find much information on doing this (somewhere they suggested "Insert Project",
    which did work but was not what I wanted), I thought I'd still share this in case it helps someone else. You just need to copy a parent task with no predecessor, paste special into a blank New Task row then make that the appropriate predecessor in the pasted
    Project File. Cool!

    J.L.Fitzpatrick,
    I second the strong caution on the use of paste links in Project as indicated by Guillaume. It is the same as playing with fire and it sounds like you already got burned. Paste links do work but they are NOT for the casual user and their use requires the
    upmost in file creation expertise and file management discipline.
    Let me highlight a couple of things I think I understood in your description. First, it sounds like you were paste linking the whole task link. Paste links on individual field cells are tenuous enough but doing a whole line will only result in disaster.
    Second, it sounds like you were trying to paste link into a summary line. That is equally a really bad idea. With that construct I can virtually guarantee file corruption.
    I can understand why Insert Project did not meet your needs. You are trying to link a single task in one file with another. That is achieved with a cross-project link (i.e. external predecessor/successor). Insert Project is exactly what it says, the WHOLE
    project is inserted, not just a single task. So Insert Project and cross-project links are NOT the same thing.
    Bottom line. What you want is a single cross-project link. Even then you still open the door to potential file corruption. Once you have that link established, never move, rename, or save to a different location. Ideally both files should be in the same
    folder on a local drive, not on a shared network.
    John

  • POJO based Tree Accessors Label problem

    11.1.1.3.0
    I have a POJO based tree. In the pageDef.xml file, I have set the Label attributes to strings for the Accessors (I have 2 accessors for my parent node).
    eg.
    <Accessors>
    <Item Value="actionParams" Label="Parameters"/>
    <Item Value="children" Label="Nested Actions"/>
    </Accessors>
    This isn't working because I don't see the label when the tree is displayed. For VO based trees, setting labels to accessors from the pageDef.xml seem to work. Are there some additional things I have to do in the POJO xml files to get this working?
    Thanks.

    Oh, well, never mind and sorry, figured out that I was missing something in the jsff file (an additional output text in the group!!)

  • ADF mobile: how to link task flow to a list view item

    Hi
    I am trying to build a mobile app in adf and i created a popup on the left button on the header. this popup has a list view showing few options.
    now the requirement is to click on the option and navigate to that feature (which is created as a task flow).
    so, i am not sure how do like the task flow to the link in the listView of the popup. Please advise

    Well, if that list contains all features, you can use the 'features' from the ApplicationFeatures DC (they contain the ID, name, ... so you can use #{row.id} instead of hardcoding it).
    If that list does only contain a few features, you can make your own list.
    In your own backing bean or data control, you can get all the features by using:
            ApplicationFeatures af = new ApplicationFeatures();
            af.getFeatures();And filter them.
    An example that I made/use myself:
    It uses an commandLink to navigate because I need to be able to 'disable' (= not clickable) some features (it has the same look as an ListView).
    So iff just use the getFeatures(), you can use the ListView for navigation.
    <amx:iterator var="row" value="#{bindings.features.collectionModel}" id="i1">   
            <amx:tableLayout width="100%" id="tl2" inlineStyle="background-color:White;">
              <amx:rowLayout id="rl2">
                <amx:cellFormat width="50px" height="50px" halign="center" id="cf4" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:image source="#{row.icon}" id="i2" inlineStyle="width:40px;"/>
                </amx:cellFormat>
                <amx:cellFormat width="100%"  height="43px" id="cf3" valign="middle"
                                inlineStyle="border-bottom:thin solid #b8b9c8;">
                  <amx:commandLink text="#{row.name}" id="cl1" inlineStyle="color:Black; font-weight:bolder; font-size:110%;"
                                   disabled="#{!row.enable}">
                    <amx:setPropertyListener from="#{row.id}" to="#{pageFlowScope.feature}" />
                    <amx:actionListener binding="#{bindings.resetFeature.execute}"/>
                  </amx:commandLink>
                </amx:cellFormat>
              </amx:rowLayout>
            </amx:tableLayout>
          </amx:iterator>This my own data control :
    public class MenuDC {
        private ExtendedFeatureInformation[] features;
        private String message;
        public MenuDC() {
        public ExtendedFeatureInformation[] getFeatures()
            ApplicationFeatures af = new ApplicationFeatures();
            this.fillExtendedFeatureList(af.getFeatures());
            return features;
        private void fillExtendedFeatureList(FeatureInformation[] realFeatures)
            message = "";
            ModelController.getSingletonModelController().refreshMinorTables();
            features = new ExtendedFeatureInformation[realFeatures.length];
            for(int i = 0; i < realFeatures.length; i++) 
                boolean enable = true;
                FeatureInformation fi = realFeatures;
    if(fi.getId().equals("be.kpd.newDayReport"))
    if(ModelController.getSingletonModelController().getVarFormLocalDB(HardcodedVarCodes.LAST_SYNC).equals(""))
    enable = false;
    if(fi.getId().equals("be.kpd.overviewDayReport"))
    if(ModelController.getSingletonModelController().getRegisDFromLastSevenDays().size() == 0)
    enable = false;
    if(!enable)
    message = "SYNC_NEEDED";
    ExtendedFeatureInformation efi = new ExtendedFeatureInformation(fi.getId(),fi.getName(),fi.getIcon(),fi.getImage(),enable);
    features[i] = efi;
    public String getMessage() {
    return message;
    I made my own POJO which implements the FeatureInformation interface,
    because I needed an extra boolean attribute for disabling some features.
    public class ExtendedFeatureInformation implements FeatureInformation {
        private String id,name,icon,image;
        private boolean enable;
        public ExtendedFeatureInformation() {
            super();
        public ExtendedFeatureInformation(String id, String name, String icon, String image, boolean enable) {
            super();
            this.id = id;
            this.name = name;
            this.icon = icon;
            this.image = image;
            this.enable = enable;
        public String getId() {
            return id;
        public String getName() {
            return name;
        public String getIcon() {
            return icon;
        public String getImage() {
            return image;
        public boolean isEnable() {
            return enable;

  • Deploy Task Sequence to VPN based clients

    Can task sequences be deployed to VPN based clients? Its not an OSD task sequence, the task sequence in question has a couple of program installs and relatively small in size.
    The client machine(s) do receive the deployment although the status deployment remains on "Downloading", so I assume the device cannot locate the content on the DP within the VPN (configured Slow) boundary.
    The packages in the custom TS are located on the DP, so its either the boundary or a task sequence configuration.
    Just to note - Software updates are deploy successfully to VPN based clients within the same boundary, so I'm inclined to say it might be the task sequence?
    Any suggestions?
    Thanks
    Craig
    MCTS | MCITP | MCSA

    Thanks - although where is this configuration in the program/package(s):
    "Check the packages/programs called in the TS to ensure they are correctly set for slow-link behaviour."
    Oops, sorry, it's on the deployment;
    Step 10. here:
    http://technet.microsoft.com/en-us/library/gg682178.aspx
    On the Distribution Points page of the Wizard, specify the following information:
    Deployment options – Specify the actions that a client should take to run program content. You can specify behavior when the client is in a fast network boundary, or a slow or unreliable network boundary.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Universal Worklist showing cross-linked tasks

    This is a really strange problem.
    I have a Guided Procedure process that is being heavily utilized in our company.  Occasionally, tasks in a user's work list will become 'cross-linked': the description will say one thing, but opening the task will open another similar task.  And vise-versa.
    For example, say I have processes assigned to a Manager:
    - Task for Employee 'A'    (example process id 6a1234)
    - Task for Employee 'B'    (example process id 6a4567)
    When 'Task for Employee A' is opened, the task for Employee 'B' is started.  And, when 'Task for Employee B' is opened, the task for Employee 'A' is started.  Very strange!
    I've checked the underlying process data via /nwa, and the process instances are defined correctly: all data assigned to the process is correct.  But, where this really get's weird is when you look at the URL's processed when the task from the Universal Worklist is opened.
    If you look at the process ID's embedded in the URL's, they're wrong!  Using the information above, the URL for the task for Employee 'A' contains the process ID for the task for Employee 'B'.  This explains why the wrong back-end document is opened, since the GP run-time is passing the wrong context.
    The process id's defined in the actual GP tasks look correct, so this appears to be a presentation issue. 
    I have not had the employee try to open the task via the GP Workbench, as this roles not assigned to users in general.
    Suggestions?
    We're on NW 7.0 sp17.

    Hi Ken,
    Yep, cheers for that.  Now, I did find some information from older messages for you, and it appears that sometimes, this works as designed based on how you have defined your roles for GP.
    Do you have a group used as a default for the requestor role?
    If you want only one user(the initiator) to be a requestor than you
    should change the Requestor role to be of type "Initiator". If this is the case
    all the users in the group are used as processors and all of them
    would have a task in then in the UWL. This is normal behaviour of the GP.
    Here is some additional documentation....
    http://help.sap.com/saphelp_nw70/helpdata/EN/96/b48c42ee585551e10000000a
    1550b0/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/EN/43/8acc8f3b682673e10000000a
    1553f7/content.htm
    Am I understanding you correctly?  I also may need to check with a GP colleague on this for clarification...
    Beth Maben
    EP - Senior Support Consultant
    AGS Primary Support, Business Suite & Technology
    Please see the UWL Wiki @
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/bpx/uwl+faq  ***

  • Can I create a custom table of contents and link to other .pdf files based on responses to a form?

    Hey Everyone! First post ever, so bear with me:
    I'm trying to create a streamlined method to use a form  to let myself and others add information and select certain options to put together a custom table of contents. Basically, I would like to have a form with a series of text fill and single/multiple choice options that will automatically populate a table of contents based on the selections and will link to other .pdf files that are associated with the selections. I was hoping this would be possible with a form, but I'm relatively new to the function of the software as a whole and my research came up short. Any suggestions on how to start are more than welcome, and if I wasn't quite clear enough I would be happy to elaborate.
    Thanks for your time!

    You would need to search for other PDF creation software that can accomplish what you desire.
    There are many cheaper  PDF creation alternatives other than Adobe's Acrobat Pro software.
    Also, try doing a web search under these terms to see if you can find an app/software/solution that may work for you.
    How to create table of contents in PDF files

  • Filtering My Open Task in SAP CRM based on Status, Transaction & Partner Function

    Hello
    Whenever i create a Task in SAP CRM, it displays that transaction in the My Open Task of all Business Partners involved in that Transaction.
    I want to restrict the My Open Tasks based on Transaction Type, Status and Partner Function.
    1) The system should work as it is for all other Tasks but for my Custom Transaction Type the logic should be based on status of the Transaction
    2) When My Open Task component is prepared the system should consider the Status and Partner Function as well i.e. if the status is Approval of Manager, the system should show the Open Task only to the Manager and not other parties.
    3) if the status of the Transaction is Open, the system should only display this Transaction / Task only to Employee Responsible and not to Manager and other people involved in their My Open Tasks.
    I have gone through the following post in SCN:
    https://scn.sap.com/thread/2056959
    I have implemented the method DO_PREPARE_OUTPUT as per the post but it does not do anything. When i redefine the method GET_QUERY_RESULT and remove everything,it does not prepare any list.
    If possible please specify which method needs to be redefined in the component/view CRMCMP_GS_WC/TodaysTasks & if possible please share the code that needs to be maintained in that method.
    Thanks

    Hi,
    Method DO_INIT_CONTEXT should be redefined
    This should be redifined to get the collections with your required filter criteria.
    * get the collection of entities for the tasks
       lr_col      = get_query_result( gc_status-open ).
    If this does not help, Delete the collections which are not required after above selection but before this code.
       me->typed_context->resultnew->collection_wrapper->set_collection( lr_col ).
    Thanks
    Ajay Singh

  • Execute a Task flow in HFM based on a event

    Hi All,
    I have a requirement to automate a task flow based on if a file has arrived at a particular location. The requirement goes like this:
    1. File arrives at a particular location
    2. Task flow will be initiated as soon as the file arrives, task flow will load data from the file,consolidate and extract data to a predefined location.
    My question is how can i write a batch to check in the folder if the file has arrived and based on that trigger the task flow if i get a positive result.
    I can write the batch to check if the file exist but i don't know how to trigger the task flow from batch script.
    Any help guys, I'm badly stuck.
    Thanks in advance,
    Suman

    Make a file / directory watcher service to monitor for the activity : http://www.techrepublic.com/article/use-the-net-filesystemwatcher-object-to-monitor-directory-changes-in-c/6165137
    Then use hfm-batch to execute your script. https://github.com/cgiogkarakis/hfm-batch

  • Displaying task in timeline webpart based on view from task list

    I have added one custom column in task list called category and created different view based on different values of category.
    when I display a view and select show timeline, it display all the task and does not filter the task based on view. Is there any possbilty to achieve this?

    Hi Ashish, if you click to modify the view, scroll down to "Style." You'll see the different styles in there, and below those, you'll see "Show timeline above the view." Select that box and the timeline will be included with your view.
    cameron rautmann

  • VSO agile template adding link task as child makes parent missing from backlog

    HI,
    I have a tasks in my backlog for iteration, if I add a new child task for this as a linked workItem, the parent task doesn't show up in backlog/task board. If I go to stories view, and show hierarchy I can see both the parent task and child task as hierarchy.
    a) How I can see task hierarchy in backlog view
    b)why parent tasks gets invisible from backlog view, when a child link item is added
    Thanks
    singhhome

    Hi singhome,
    Nested tasks will make the parent task disappear, you will just see the PBI and the lowest level child task show in Backlog and Task board. It is not support nested tasks for board view, board does not show the intermediary nested tasks.
    It's the same with on-premise TFS, and you can refer to the link below for more information:
    http://nakedalm.com/tfs-2012-agile-planning-tools-issue-nested-tasks-makes-the-parent-task-disappear/
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Strategy in task list and Strategy based Maintenance Plan

    Dear Gurus,
    I have some doubt about
    is it same if we create a single cycle plan with a task list in which maintenance strategy let say A is being used and a maintenance plan strategy based let say A and task list without any strategy
    can some one explain use of strategy in task list and maintenance plan
    Regards
    Armaan

    Hi,
         In Strategy Based Plans :- When ur entering strategy in initial screen of IP42 then inside the plan system will allow u to select tasklists created with that strategy only ...
    In Single Cycle Plans :-  Here even though if u select tasklist of a particular strategy , system copies all the operations of the tasklist to the order...
    From your above example :- Single Cycle Plan if cycle is monthly is equal to strategy based plan having only 1Month package .
    further package in strategy allows u to select which operations of tasklist u want for 1Month..
    regrds
    pushpa

Maybe you are looking for

  • Why some columns are not read into Power Pivot when reading data from a SQL query

    I have this SQL query that I want to use to read data to PowerPivot from: SELECT Score.FieldCount as fieldcount, Score.Record.GetAt(0) as predicted_gender, Score.Record.GetAt(1) as probability_of_gender,  Score.Record.GetAt(2) as probability_of_m,  

  • How do I get my emojis to stay on the recent page

    On my iphone, i use my emojis after my text message on like , messages, fscebook instagram etc. But they don't stsy on the recent page? How do I get them to stay?

  • Installing a Solid State Drive (SSD)

    Hi, I am helping a friend instal a SSD into their Mac Pro.  I have changed out drives before, but it has been a long time.  From what I have seen on the web, it looks like a fairly easy process.  There are no ribbon cables to attach, nor power cables

  • How to use .mov from Mac in PowerPoint 14.2.5

    PowerPoint will not accept my .mov files from iTunes(or MacBook i7 desktop) .MOV files (originally recorded on my iPhone 4S) now on my MacBook i7 (MOS 10.7.5) desktop inserted into a PowerPoint (14.2.5) presentation do not work after the PowerPoint f

  • Async to sych Bridge

    Hi all, as i know it is possible to couple Synch to Async via Sync-Async Bridge. But what about the other way around, e.g. couple async to sync via ccBPM? What we want to try is to send a async message via a jms-Adapter. This message will request an