Alternative approach to tree business model

Hi JHS Team,
When generating tree-forms with JHeadstart, we need two VO instances in the model for each node we want to present: one for rendering the Tree and another to show on the form, after the user selects a node.
I understand that this is necessary for the case when the user clicks on one node which father node isn't the current row of its corresponding View Object, and so in such case the form couldn't find the current row and show the correct data.
I'm still using the 10.1.2 version, but I checked the 10.1.3 documentation and this model requirement is still there.
I tried another approach to this issue, which consists of using the very same VO instance for trees and forms: in every level, I render the node with every Iterator used in the previous levels and each corresponding row key for every previous levels. When the user selects a node, in that node link I have every Iterator I need to seek and every primary key I need to search for, so I can really reconstruct the path used by the user to seek that node.
So, the benefit is that I don't need a root VO in the AM for every node I need to present as a form. In huge trees, this really simplifies the model construction and its maintanance.
In 10.1.2, the runtime library (JhsDataAction) is already prepared for this, so I would like to know, if possible, the reasons why this is not used already by default (maybe performance?). If there is a reason to mantain the two VO instances in 10.1.3, could it be changed to allow us use the same instances as an alternative to simplify models, and generate the JSF pages working accordingly?
Thanks a lot!
Eduardo

Hi Steven,
Many thanks for the explanation. I agree with you that the current implementation is easier to understand, but I think it is only from the point of view of a programmer who understand some concepts of ADF business model. When you're a beginner, it's more difficult and less intuitive (or at least it was for me some time ago :-))
I can say that in our project we have 4 very large trees in the same Application Module (since they need to be present on the same project as they're all related), and in each level we have at least 3 or 4 "details" VOs we present in the form, so the final model is really huge and really difficult to maintain. It was surprisingly easy to change the UIXs to the other approach, however, so I asked myself if this was tried already. Thanks for warning me of the unpredictable problems, I'll see if we have any.
Eduardo

Similar Messages

  • Alternative approach to Migration

    Hello,
    Our requirement is to go for OS/Db Migration and have the UME Datasource changed from R3 to LDAP
    Now, since as per SAP, UME Data source cannot be changed from R3 as per note
    My question is, Is it possible to install the same version of Portal in the new OS/Db combination and then apply all the SCAs and have new UME data source as LDAP.
    Will a new install of Portal and then applying all the SCAs = migration of Portal?
    Thanks!

    Hi Steven,
    Many thanks for the explanation. I agree with you that the current implementation is easier to understand, but I think it is only from the point of view of a programmer who understand some concepts of ADF business model. When you're a beginner, it's more difficult and less intuitive (or at least it was for me some time ago :-))
    I can say that in our project we have 4 very large trees in the same Application Module (since they need to be present on the same project as they're all related), and in each level we have at least 3 or 4 "details" VOs we present in the form, so the final model is really huge and really difficult to maintain. It was surprisingly easy to change the UIXs to the other approach, however, so I asked myself if this was tried already. Thanks for warning me of the unpredictable problems, I'll see if we have any.
    Eduardo

  • Building data model using business modeler in demantra

    Hello.
    During this week I've been trying to build a data model using the business modeler but i keep getting an error during the process. My main problem is that I don't really know if i am making the mistake or it is a configuration problem with my demantra install. To begin with I'm trying to build the most simple of the models, 3 files or tables (tryed both) sales, items, and location, all joined by their respectives id's. So If anyone could be so kind to direct me to a tutorial with an example (besides the implementation guide) or a anything like that will be greatly appreciated.
    Thanks!
    Data tables estructure:
    Sales table:
    Item_Id|Item_Name|Org_Id|Org_Name|Site_Id|Site_name|sales_date|Quantity
    Items table:
    Item_Id|Item_Name
    Location table:
    Org_Id|Org_Name|Site_Id|Site_name
    So far I've tryed building the model with one record on each table.
    this is the error that i'm getting:
    <a href="http://imageshack.us/photo/my-images/832/errornuevo.png/"></a>
    Uploaded with ImageShack.us

    We currently don't support DataControls based on the ADF BC technology. We will consider such support if there is a strong interest in that use case.
    Independent of the IDE's you use, there are ways to expose services based on ADF BC that can then be consumed by the view layer. A Google search will point you to some of the approaches.
    HTH. Thanks for your interest in OEPE.

  • Best Approach to distribute business app

    I have created a new software product called Care Control.  It is a large system that works inside UK Care Homes.   The system uses lots of different technology, but fundamentally I am using a SQL Server Database and an IIS Server to host an interface for IPADs or Android Tablets to connect, but within the Care Home. 
    I have developed three "apps" as part of the system which the Care Home staff can use to input data. E.g. the IPADs are placed on the wall within the Care Home and they use the local WiFi network to connect to a computer that is also in the Care Home.  The apps are not intended to be used outside of the home on the Internet.
    My preference is for the users to use IPADs to host the apps and so far most of the Care Homes who are using the product have elected to go with IPADs.  I have 6 clients so far (6 different Care Homes), but there seems to be lots of interest in the product which is good.
    My problem and question is: - up to now I have been using the 100 device identifiers on my Apple Developer Account to distribute these apps.  I go to a Care Home, the client provides me with the IPADs they have purchased and then I install the apps directly following registering the IPAD device against my Developer Account.
    However, this is unsustainable long term.  If the business keeps growing I will soon run out of device identifiers.  Also, I really do not want to have to go to site to provide an update!
    I really want to use the App Store as a method of distribution.  However, these apps are using an infrastructure that I am unable to provide external to a Care Home.  Without this infrastructure (SQL Database, IIS Interface Sever etc) these apps will not work and so cannot be effectivey reviewed by the App Store staff.  I have uploaded them today, but I expect they will be knocked back as the review team will not be able to get past the first screen (as they will not be able to configure the app to connect to a server).
    How can I effectively distribute these business apps to my clients?
    I have Android versions of the Apps and the Google Play Store gives me instant functionality to upload apps for distribution.  However, the IPAD kit is better and is the equipment I want to recommend to my clients.
    Is there an alternative approach I should be using?  I have seen "External Testers" on the Apps tab - is this an effective way of distributing business apps that are only ever used within an organisation?

    I have posted my problem here because replicating a complex infrastructure in an external environment just so Apple can test my app which happens to be the end of a long line of interconnected programs, which includes non-Apple technology, is a non-starter.  What I hoped for was some insight that I may have missed. Some nugget of brilliance that would stop me having to spend thousands of pounds to recreate a secure, but accessible infrastructure on the Internet, just so I can easily distribute an ios app. So far your posts have not provided that insight.

  • Purge Cache for a Specific Business Model

    Hi everyone,
    I have a obiee(11) report purging all cache entries (as Call SAPurgeAllCache()). Is there a method to purge cache partially for specific business model entries and not to purge all the cache ?
    Thanks ...

    Hi,
    To selectively purge, you could use SAPurgeCacheByQuery, SAPurgeCacheByTable or SAPurgeCacheByDatabase. Alternatively, Event Polling Tables may help. See http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/querycaching.htm#i1005542 and http://docs.oracle.com/cd/E23943_01/bi.1111/e10541/querycaching.htm#i1010207.
    Also see the section on BI Server caching here : http://www.rittmanmead.com/2013/03/optimising-obiee-performance-tuning/
    SET VARIABLE DISABLE_CACHE_HIT = 1
    It will purge the cache for that report.This is just wrong. DISABLE_CACHE_HIT only DISABLES cache use for the query execution, it does not PURGE it
    You may go for this DISABLE_CACHE_SEED for more info http://docs.oracle.com/cd/E23549_01/bi.1111/e10540/variables.htm
    What's the point of DISABLING use of the cache, if the OP wants to use the cache?
    set the cache persistence time for the related physical tables. so based on the time interval u set, at that time specific tables only will get cache purged.This is only the time from which the entry got loaded into the cache, so is not a good way to manage the purging of the cache usually - because it has no relation to when the data got loaded to the database

  • Which companies have been most successful in pivoting their business model?

    Does your business model make sense? Just because it did at one time doesn't mean it still does now. No one understands this better than these five companies that went back to the drawing board to reestablish their claim on their respective markets, or those markets they broke into as a result ofrecognizing a different need that their products or services could solve. As MSPs, it may be time to rethink the way you do business.See our list!Did we miss any?
    How about companies that have tried and failed?
    Have you had success in pivoting your business model?
    This topic first appeared in the Spiceworks Community

    Very Interesting Bart.  Strangely, the guys who wrote Chapter 8 of the new book are colleagues and co-authors with my dissertation advisor at Manchester Business School
    You should have a look at the new book we just put out.  Let me know if you'd like a copy.  We looked at business networks from a higher level strategic perspective as compared to the more systems level approach it appears this group has taken.
    http://www.amazon.com/Business-Network-Transformation-Reconfigure-Relationships/dp/0470528346

  • The new business model?

    The new business model is inflexible. It might be suitable for many scenarios, but I will be looking for alternatives to Photoshop and the Premiere, wherever possible. This subscription model could be a boon to some businesses; Adobe will ultimately loose both long-term customers, as well as potential new users. A bad move overall.

    [email protected] wrote: A bad move overall
    Dcolive wrote:
    compared to tens of thousands if not hundreds of thousands of product users.
    I'm quite sure the user base is in the millions.  And I can't find the reference now because of the flood of buzz about the announcement, but it seems to me I read that the number of Creative Cloud subscribers is already quite huge.  I'm not sure your personal opinions are correct, given the wild success of the program already.  Stockholders have noticed.
    The short and simple fact is this:  Adobe's got the goods; professionals want the goods, and will pay for them.
    Yes, it's more expensive for a casual photographer to subscribe than it has been to upgrade to every other version of Photoshop Standard, and there is the limitation that you don't get to keep using an old version of Photoshop once you've terminated a subscription, but it's a professional product suite, and people who truly need it pay for it.
    Perhaps Photoshop Elements is worth another look.
    Yes, it may sting to learn that you can no longer afford the top-of-the-line graphics editing tool, but...  How many of us can afford top-of-the-line anything?  Do you have the top-of-the-line camera from your favorite manufacturer?  How about your computer?  Your car?
    I think something that would help ease a lot of minds is a reasonable exit strategy.  One that shows some appreciation by Adobe for your having been a cloud subscriber.
    What if, for example, after 2 years of keeping your subscription current you were allowed to continue to use any released revision of Photoshop 2 years old or older upon terminating your subscription?
    -Noel

  • How can I use Server level variables in a business model based report

    hi gems..
    I have declared one server level variable in the BI Analytics repository.
    Now I have made one business model based report.
    In one column I want to use that server level varible.
    I go to the formula tab of that column and then clicked on variable--> session --> put the name of the variable and click ok.
    But when i viewed the report, it is not showing the dates, rather it is showing the date format I chosed i.e DD-MMM-YYYY.
    please help..

    actually the previous problem got resolved...
    Now when I am trying to apply a filter on a particular column using that server variable, then it is showing that the varible has no value definition.
    I have clicked on the filter tab of that column-->add-->variables-->session variables-->then I put the name of the variable-->click OK.
    the following error is comming-
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23005] The repository variable, Variable_name, has no value definition. (HY000)
    I have made that server variable from manage-->variables-->(right click) create new initialisation block-->gave the name and wrote the query and aslo gave the connection pool name and test that and it worked fine..

  • OBIEE 10g repository - Business model - logical table to physical table, column mapping is empty

    Hi, I am really new to OBIEE 10g.
    I already set up a SQL Server 2005 database in Physical and import a view vw_Dim_retail_branch.
    The view has 3 columns: branch_id, branch_code, branch_desc.
    Now I want to set up the Business model to map this physical table (view).
    I created a new Business model
    Added new logical table Dim_retail_branch
    In the sources, added the vw_Dim_retail_branch as source table.
    But in the Logical table source window,  column mapping tab, it's blank. I thought it should be able to identify all the columns from vw_Dim_retail_branch, but not. The show mapped columns is ticked.
    What should I do here? Manually type each column?

    HI,
    Just you can drag and drop the columns from physical layer to BMM layer.
    Select the 3 columns and drag and drop it to the created logical column in BMM layer.
    for more reference : http:\\mkashu.blogspot.com
    Regards,
    VG

  • How to copy one Analysis/Report in Business Model A to Business Model B?

    I have created a Business Model, Presentation layer in my RPD. I have many subsequent reports/analysis for that BM. Now, i have created a second BM/Presentation layer, in the same RPD, which uses a new set of identical tables (columns and table names, etc... all the same, but different data). So, without re-created each report in Analysis, i just want to copy some of those reports/analysis so they will use my 2nd BM instead of the first. Can this be done, and how?
    Edited by: user12602240 on Mar 31, 2012 11:50 AM

    I'm retracting my comments for now -- this may be due to a column ALIAS which isn't present.
    I will re-post after I investigate that a bit.
    --- Original ---
    Kalyan,
    Not sure if you had any difficulties in this method. When i try it, i get the following error below. I've checked my names - the names "Periods" and "PERIOD_ID" are identical in both my subject areas. They refer back to aliased tables which ultimately point back to the same physical table. It's unclear to me why i am getting the unresolved column error, but i'm still trying to sort that out.
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P:OI2DL65P
    Location: saw.httpserver.processrequest, saw.rpc.server.responder, saw.rpc.server, saw.rpc.server.handleConnection, saw.rpc.server.dispatch, saw.threadpool, saw.threadpool, saw.threads
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 27005] Unresolved column: "Periods"."PERIOD_ID". (HY000)
    SQL Issued: {call NQSGetQueryColumnInfo('SELECT "Periods"."PERIOD_ID" FROM "BM11_Current"')}
    SQL Issued: SELECT "Periods"."PERIOD_ID" FROM "BM11_Current"
    Edited by: user12602240 on Apr 10, 2012 5:21 PM

  • How to add a stand alone table from Physical layer to Business Model

    Hi,
    I have tables from 2 different database sources in my Physical Layer.
    My Business model currently uses only tables from one database. from my second database in teh physical layer I need only one table and that will be a stand alone table, to my Presentation layer.
    1. Does it have to go through my Business layer or can it be directly added to the Presentation layer. What are the steps?
    2. Can I restrict the permissions on that stand alone table only to the administrator?
    Thank you.

    1)create a view with single column using the sql (select 1 from dual) in physical layer and join it with the table using complex join in physical layer (1=1).
    Move that to BMM, set the column as key in both physical and bmm layer.
    2) You can restrict the access for the table presentation layer
    Double click the presentation layer table -> Permission -> there you can restrict the access by user or group
    Thanks,
    Vino

  • Business Model and Mapping layer

    I am trying to create a logical dimension table by dragging the corresponding table from the physical layer. However, in the business model layer it shows up with a yellow icon indicating it is a logical fact table. Please help me how I create a logical dimension table in the business model layer. Not sure what I am doing wrong here.
    Thanks.

    Hello Saichand,
    No I did not. Do I have to create joins even when I am dragging this object from the physical layer? Let me read and learn how to create the joins. I will get back if I will have more questions.
    But, thanks for the quick response. As you can see this is the first time I am trying to modify the business model layer.
    Thanks.

  • Link Join Concept In Physical and Business Model Layer

    Hi,
    As we know that we could make join relationship in physical layer and also business model layer in obiee 10g. This is what makes me confuse.
    First of all, I tried to follow the tutorial in the oracle learning library center with schema SH as an example.
    In the beginning, it is stated that we must make join relationship first in physical layer for all imported tables which are consist of dimension tables and fact tables.
    Then, in the business model layer, the tutorial said that we must also make join relationship for the logical dimension table and logical fact table.
    So, what's the purpose actually we must make join relationship in business model layer ?
    All objects in business model layer are actually mapped from physical layer. So automatically the relationship in business model layer should be available automatically as they are mapped from physical layer.
    Maybe for you guys who know the concept well about this difference of relationship, could tell me so I could get the idea of what it is actually about.
    Thanks

    Physical layer does represent datamodel joins as is in almost all cases.
    Federated queries are a best example why joins are implemented in both (Physical & BMM layer) places.
    Business model mapping layer is modelled according to your business requirements.
    This is where your model MUST be a simple star schema, also where you model your hierarchies based on logical tables in bmm layer, & do appropriate aggregate navigation.
    Hope the view points presented will put you in right direction.
    mark answers promptly.
    -bifacts
    http://www.obinotes.com
    J
    Edited by: bifacts on Dec 16, 2010 9:19 PM

  • Probelm Addind new Table in Physical Layer, Create Dim in Business Model ..

    I have completed a task for a dash board, that is running sucessfully.
    Now I added a new table in "physical layer", (file->import->from database), table added successfully
    Now, I droped this table in "business model", but when I want to create its dimension, there is no any option (when I right click on this table)
    there are two cases
    case 1:
    I did not added modified fact table (with foreign key of new table) in "physical layer" and not in "business model and mapping"
    case 2:
    I added new table and modified "fact table (with foreign key of new table)" in "physical layer" and "business model and mapping"
    but in both cases there is no "create dimension" button to create dimension
    Please let me know the how to solve this problem, kindly define it in steps
    thanks

    Hi thr,
    Create Dimensions is only available if the selected logical table is a dimension table (defined by 1:N logical joins) and no dimension has been associated with this table.
    In you case, once you have imported the table successfully in physical layer, then join your table to fact table. Drag n drop in BMM under a new logical table and then join it to BMM Logical fact using complex join. Now, if you right click, you see the last option as 'Create Dimension'
    Hope you find it useful..

  • How can i call a business model function?

    Hello!
    I have a simple problem
    A gui view-backing - function call the setUsername by FacesContext und operative Buinding - it works well.
    Now i want to call the the function getUsername from a function inside the class EntityImplEx - both classes are in the business model in different class-pathes.
    How can I call the function getUsername from AppModule?
    package model.app;
    public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {
        public String username                = "init";
        public void setUsername(String ss) {
            username=ss;
        public String getUsername() {
            return(username);
    package model.entity;
    public class EntityImplEx extends EntityImpl {
    ***************************

    You probably don't want to call a function in your UI from your AM.
    Doing this will break the MVC design pattern and will make your AM depends on a specific UI page.
    The way to communicate between the two is through service methods on the AM that are invoked from the UI layer.
    See chapters 8.3-8.5 in the developer guide:
    http://download.oracle.com/docs/html/B25947_01/bcservices003.htm#sm0206

Maybe you are looking for

  • How I can connect to wi fi

    i can't connect to wi fi

  • Problem in reversal of the GR posting

    Dear all, While trying to reverse the Process Order confirmation, we are getting the below errorwith message, Message no.- QA046 Diagnosis: You are attempting to reverse a goods receipt although quantity postings have been already been made from the

  • Apache vulnerabilities

    We've recently had some security consultants go through our environment and the report they've provided has advised that some high priority upgrades are required on our NetWare servers around the Apache versions. We are running NW65sp7, and the repor

  • How can to get the context of Repository Service?

    Hi All, How can we get the context of Repository Service? I am able to get the repository service using the below given code. IRepositoryServiceFactory sf = ResourceFactory.getInstance().getServiceFactory(); IRepositoryService service=sf.getRepositor

  • Utility for printing direct to default printer via adobe reader.

    I just posted this in the Forms forum, but felt it was appropriate to mention here, too. If you feel the need to comment, please do it in the Forms forum so all comments will be in one place. Thanks. See it here: http://forums.oracle.com/forums/threa