Global/Application level variable

Hey guys
   I have been using sdk 3.0 so far, but now ran into a issue.  I wanted to create grouped data grid using AdvancedDataGrid, but when my data get loaded from CF, the AdvancedDataGrid does not update with newly acquired data.  I used
  [Bindable] public mydataprovider:ArrayCollection;
and in result function have
    mydataprovider = new ArrayCollection(event.result as Array).
All of this works but my datagrid remains empty, since there was no data when the component was created and added to the stage.  Turns out that this is a know issue and was fixed in subsequent DMV 3.0.2
[link]http://bugs.adobe.com/jira/browse/FLEXDMV-1334?page=com.atlassian.jira.plugin.system.issue tabpanels:all-tabpanel[/link]
So I installed sdk 3.3.  Now I have all sorts of errors.  Mainly this one.
I have a utility.as file in which a var as bellow
var app:[app name] = mx.Application.application as [app name]
I am using this var (app) to access values that are set in different stages and also to dispatch and listen to events.  but now I can use it in 3.3
I get an error
     Call to a possibly undefined method addEventListener through a reference with static type [app name]
Now I think I know that I didn't use the best coding pratice, and made due with ad-hoc way of making app work.  But now I need some help to fix my hacks.
So the question is how can I dispatch and listen for actions at a single point (I know that dispatched actions are suppose to bubble up till they are heard, but that for some reason didn't work for me from the start).  And how to I create application wide variables so I can access them anywhere and at anytime in my app.
Sorry for such a long post, and thank you very much for all your help
Jaysheel.

Hey Alex,
   The the app name is the exact same.  I have a file called virome.mxml which has my <mx:application> tag and my var "app" is of type virome.  I have check the spelling.  Any other ideas?
oo good to know that I should try to avoid even bubbling, hehe at least I am doing something right.
Jaysheel
p.s if it helps here is the application tag
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
                xmlns="*"
                creationComplete="initApp()"
                layout="absolute"
                width="100%"
                height="100%"
                preloader="custom.preload.Preloader"
                historyManagementEnabled="false"
                modalTransparency="0.45"
                modalTransparencyBlur="8"
                modalTransparencyColor="#FF6600">
and here is my declaration in utility.as
     public var app:virome = mx.core.Application.application as virome;   
     public const viromeLSO:SharedObject = SharedObject.getLocal("viromeLocalSharedObject");
     private var parsing:Boolean = false;
     public function Utility(){
          app = mx.core.Application.application as virome;

Similar Messages

  • Object Type as Application Level Variable

    I probably already know the answer to this but thought I would see if anyone has gotten to work or developed some sort of work-around.
    My question is, if I define an object type (create type ... as object ...) is it possible to hold a variable of this type as the session level? For example, if I am creating an order using multiple web pages, it would be much easier (and intuitive) to create and manipulate an order object than to hold the data in generic collections.
    If that is not possible, is there some way to make a generic Apex collection appear more application specific? By this I mean some way to map the columns C001, C002, ... to more intuitive names such as CUST_NO and ORDER_DATE. I had considered possibly creating a view of the APEX_COLLECTIONS view which would rename the columns but then I would also have to create a bunch of instead of triggers if I wanted to update it as well.
    Any thoughts or suggestions would be appreciated. Thanks,
    Mark

    Mark Wagoner wrote:
    I probably already know the answer to this but thought I would see if anyone has gotten to work or developed some sort of work-around.
    My question is, if I define an object type (create type ... as object ...) is it possible to hold a variable of this type as the session level? No. APEX session variables are stringly typed (perhaps the biggest single drawback of the framework).
    If that is not possible, is there some way to make a generic Apex collection appear more application specific? By this I mean some way to map the columns C001, C002, ... to more intuitive names such as CUST_NO and ORDER_DATE. I had considered possibly creating a view of the APEX_COLLECTIONS view which would rename the columns but then I would also have to create a bunch of instead of triggers if I wanted to update it as well.
    jarola wrote:It might that instead of trigger do not work for view where you query APEX_COLLECTIONS.Confirmed: +{message:id=10391521}+
    Don't waste your time on it.
    But you can create view to display data from APEX_COLLECTIONS and give generic columns meaningful alias.
    Then create own procedures where utilize APEX_COLLECTIONS package to make update/delete/insert.That's the approach I'd use as well.

  • Project level variables in OSB

    Is there any way we can declare project level variables or global variables that are visible to all the projects in OSB?? If yes,the how can they b used??

    OSB is stateless and can not remember variables outside a running process instance.
    However you can have a solution similar to global/project level variables if they are static.
    What you can do is create an XSL or XQuery with your variables defined as elements in the XML and inside Proxy service if you need to refer to these variables just call that XQuery/XSLT for that element.
    A use case where this scenario can be used is for defining log levels. You can have a config XQ for each project and define the value of log level element for each project in that XQuery. Inside a Proxy service just call this XQ and fetch the LogLevel and log accordingly. This is also useful in migrating between dev/test/production environments. You can have different values of LogLevel in the XQ in different environments so that you dont need to change the code in proxy service when you move from one environment to other and also you dont need to change in each and every proxy if you need to change the level of logging.

  • Application scope variables ... an easier way or not ?

    Instead of sharing application scope variables through the
              servletContext()/application I am using a normal singleton class (or maybe
              static class) to share all my application varaiable. It works fine and it
              takes a lot less code to write.
              It seamed logical to do this a static classes or singletons are shared
              within a single servletContext/application (which there seems to be only one
              per WL instance anyway). (singleton is quite nice pattern coz. all
              jsp:useBeans with the application scope are by definition singletons)
              Has anoyne tried something similar or maybe know of the problem with this
              approach. I assume that server will never reinitialise application level
              variables ...... hope the assumption is correct. ....
              

    When you specify application scope, the JSP stores/retrieves the value
              into/from the servlet context. You may already know this, but it sounded
              like what you thought you were somehow avoiding.
              Cameron Purdy
              http://www.tangosol.com
              "Bohinc D" <[email protected]> wrote in message
              news:[email protected]..
              > Instead of sharing application scope variables through the
              > servletContext()/application I am using a normal singleton class (or maybe
              > static class) to share all my application varaiable. It works fine and it
              > takes a lot less code to write.
              >
              > It seamed logical to do this a static classes or singletons are shared
              > within a single servletContext/application (which there seems to be only
              one
              > per WL instance anyway). (singleton is quite nice pattern coz. all
              > jsp:useBeans with the application scope are by definition singletons)
              >
              > Has anoyne tried something similar or maybe know of the problem with this
              > approach. I assume that server will never reinitialise application level
              > variables ...... hope the assumption is correct. ....
              >
              >
              >
              

  • Global Application variable

    How do I set a global application variable in a Swing application?
    Namely
    MDI display opens a new window
    new window sets a variable
    close the new window and return to the MDI window
    MDI window needs to use the variable.
    Note: the new window is is its own class object.

    What are you talking about?
    Static variables are "global".
    In some class (it does not really matter which) define
    a static variable. O.K. now you have a "global"
    variable.
    Some people may say that this is "bad" programming
    practice, but it is what you asked for.public static variables of public classes are 'global' in the sense you can refer to them if anywhere in an application. Public classes are also 'global' in this sense.
    However, we don't call them global variables, they are class variables. A global variable is generally defined to be one that is associated with the running application. It has no context other than that. It can be used anywhere at any time without any qualifications. In other words, the are terrible.
    I had to maintain an application that had 50 or so global variables. Some of these variables represented the exact same piece of information so it was cruicial during modifications to make sure that they were kept in sync. Don't use this type of design.

  • Setting application level item during authentication

    We’re having an issue with an application level item that we set during our custom authentication function to store a role list for authorization. The issue is that the application level item, which should be set using htmldb_util.set_session_state(‘ITEM_NAME’, p_item_value), is not being set.
    On further investigation we realised that this issue was only affecting developers, not users of the application. This seems to be because the home page link, set in Shared Components > Edit Security Attributes, is set to “f?p=&APP_ID.:1:&SESSION.”, which means that the developers session was being passed to the application when the “Run Application” button was pressed. What then happens is that following the successful execution of the authentication function, a new session id is generated and visible on the URL and the Application Level Items are not set correctly.
    Examples:
    I’m developing an application on Apex that has the home page link set to “f?p=&APP_ID.:1:&SESSION.”, here’s the first part of my URL at the Application home page:
    http://apex.oracle.com/pls/otn/f?p=4000:1:1065658352862710::
    I hit “Run Application” and get to this URL (note the session id is the same)
    http://apex.oracle.com/pls/otn/f?p=16033:1:1065658352862710:::::
    I log in using any old username and password (the auth scheme on this demo app always returns true) and I get to this URL (note the session id is different):
    http://apex.oracle.com/pls/otn/f?p=16033:1:1403999736046638
    My application level item is not set and I start to cry. When I recover from my tearful episode I try to log in again, I hit logout and get taken to this URL:
    http://apex.oracle.com/pls/otn/f?p=16033:1
    I log in again (with the same username or different, it doesn’t matter) and low and behold, my application level item is set ok. This is the URL I can see (note another new session id):
    http://apex.oracle.com/pls/otn/f?p=16033:1:4917752800353335
    In despair, I close my browser window and go to my other application, this one has got the home page link set to “f?p=&APP_ID.:1” (no session id passed).
    I log back into Apex as a developer and go to the application home page at this URL:
    http://apex.oracle.com/pls/otn/f?p=4000:1:131988631742187::
    I hit “Run Application” and get to this URL (note the session id is missing):
    http://apex.oracle.com/pls/otn/f?p=19114:1::::::
    I log in using any old username and password (same deal as before) and I get to this URL (new session id):
    http://apex.oracle.com/pls/otn/f?p=19114:1:4320851658879093:::::
    Amazingly, this time the application level items are set first time.
    What I’d like to know (there is a purpose to this) is:
    - Why is a different session allocated to the application after login, when a “developer’s” session id is passed to the application?
    - If I remove the session id from the home page url what is the impact? I can’t think of anywhere within the application that this is used (other than between page 101 and the home page), but our thoughts are that this could mean that users end up generating more sessions on the server.
    - Is there any other way around this, perhaps using a different method of setting the application level item? The authentication procedure which sets the item reads as follows and mimics our authentication procedure (which you can assume does a little bit more than just returning true):
    function test_login 
      (p_username in varchar2 default null, 
      p_password in varchar2 default null) return boolean is 
    begin 
      htmldb_util.set_session_state('F16929_SYSDATE', to_char(sysdate, 'DAY')); 
      return true; 
    end;- Has anyone else encountered difficulties with the setting of application level items during login or has anyone come up with a more ingenious plan for passing something back from authentication that can later be used for authorisation?
    Thanks
    matt

    Scott,
    Many thanks for the response.
    We've found a way around this now, by changing the developer's usernames to the same as their NT/ Active Directory signon, which fools APEX into maintaining the session id from their builder session even though when logging into the application they get authenticated by LDAP.
    Using a post authentication process would be ok but I can't see any way of passing a variable retrieved in the authentication process under the first session to the post authentication process so that it can be set in the second session. We'd either therefore have to insert the data into a table and read it back or add an extra LDAP call to retrieve the user role/ group list during the post authentication process.
    Thanks again,
    Matt

  • Tuxedo calls procedure and Application Level Service Failure

    hello ,professors all!
    My Tuxedo Service just call an procedure exists in oracle9i, i am sure that the procedure runs ok in oracle9i individually, when it was called by my tuxedo service , it is not ok by first time ,and runs out tp application level Service failure error .But strangely it is ok by second time!
    who can explan it to me and show me a way to solve the difficult problem?
    i spend a lot time wondering the answer!
    Edited by: user9086437 on 2010-9-29 下午9:57

    There are many possible reasons why a database procedure might fail the first time it is executed and succeed after that.
    You should check the Tuxedo ULOG and Oracle database logs for any messages that may point to the problem.
    If there is a LIBTUX_CAT:6205 or LIBTUX_CAT:6206 message in the userlog file then you need to add a tx_open() call to your server's tpsvrinit() or tpsvrthrinit() function.
    If there is an OPENINFO string for the group where your server is running then you are using XA transaction management and should not be connecting to the database in your application code; if there is not an OPENINFO string for the group where your server is running then you need to connect to the database in your application.
    If you set the environment variable
    TMTRACE=*:ulog:dye
    for the server where the failure is happening then Tuxedo will write a trace record of each Tuxedo call and each XA call to the ULOG file. This can be helpful in determining why the failure is happening on the first call, especially if Tuxedo is handling transaction management using XA.
    I hope some of this is of help in debugging the problem.
    Ed

  • Non-admin user cannot access Essbase server level variables

    Version 11.1.1.3
    Essbase Substitution variables are created at server level. Users are getting error in FR report that uses the Subsitution Variable -- Essbase Error(1051085): You do not have sufficient access to get this substitution variable. Also, users cannot access Substitution variable in SmartView. However, users can access variables created at database level. Users are provisioned as "Server Access" to Essbase and filter access to ASO application "MGTRPTG", where MGTRPTG is an ASO essbase application for reporting. We tried the same provisioning in two other environments and it seems to be working fine.
    User is type "Essbase and Planning" provisioned with essbase "server access", application mgtrptg "filter", Reporting and Analysis "analyst", "dynamic viewer" and "Explorer". In addition, it is given a filter "REP_DME_GALB" which restricts 2 dimensions (Division and Geography).
    Steps taken to resolve:
    1. Existing users were deprovisioned and reprovisioned with no effect.
    2. Created brand new identically provisioned users in Prod and QA. QA user can access the server level var and Prod user cannot
    3. Created a brand new server level variable in Prod and this cannot be accessed.
    4. All services have already been restarted several times.
    5. SR has been opened.
    Temporary workaround:
    By creating a duplicate of the same set of variables at the database level, the reports work. This can only be a temporary workaround as the client cannot be expected to maintain two sets of substitution variables since there are 3 applications using these server level variables.
    Thank you for any ideas!
    Jennifer

    You have stumbled on a defect which is resolved in the Hyperion Planning 9.3.1 patch 6 and above. If you have your planning preferences set to indent members it will cause forms which have page selections to show as invalid in SmartView.
    You can either patch Planning or turn off the preference. The patches are available from http://metalink3.oracle.com and require account which has been associated with your client ID.
    P.S. Usually it's not a good practice to use the admin id.
    Regards,
    -John
    Edited by: Jbooth on Nov 3, 2008 2:12 PM

  • TPESVCFAIL - application level service failure

    #include <atmi.h>
    #include <fml32.h>
    #include <fml1632.h>
    #include <tpadm.h>
    #include <stdio.h>
    #include <stdlib.h>
    int main(void)
    long len = 0;
    char lmid[16];
    char serverName[64];
    char srvID[64];
    char srvGrp[16];
    char rqAddr[16];
    char totWorkl[16];
    char state[16];
    char numReq[16];
    if (tpinit((TPINIT*)NULL) == -1) {
    fprintf(stderr, "tpint error\n");
    exit(1);
    int flags = MIB_LOCAL;
    FBFR32* rqbuf = (FBFR32*)tpalloc(FMLTYPE32, NULL, 0);
    Finit32(rqbuf, (FLDLEN32)Fsizeof32(rqbuf));
    Fchg32(rqbuf,TA_OPERATION, 0, "GET", 0);
    Fchg32(rqbuf, TA_CLASS, 0, "T_SERVER", 0);
    Fchg32(rqbuf, TA_FLAGS, 0, (char*)&flags, 0); **/+/if i add this line: compile succeed, but run wrong!!! error info: TPESVCFAIL - application level service failure+**
    if (tpcall(".TMIB",(char*)rqbuf, 0, (char**)&rqbuf, &len, 0) != -1)
    int i, j;
    i = Foccur32(rqbuf, TA_SERVERNAME);
    for (j = 0; j < i; ++j) {
    Fget32(rqbuf, TA_SERVERNAME, j, serverName, 0 );
    Fget32(rqbuf, TA_SRVID, j, srvID, 0);
    Fget32(rqbuf, TA_STATE, j, state, 0);
    Fget32(rqbuf, TA_SRVGRP, j, srvGrp, 0);
    Fget32(rqbuf, TA_RQADDR, j, rqAddr, 0);
    Fget32(rqbuf, TA_TOTWORKL, j, totWorkl, 0);
    Fget32(rqbuf, TA_NUMREQ, j, numReq, 0);
    if (strcmp(state, "ACTIVE") == 0)
    printf("%s,%s,%s,%s,%s,%s,%s\n",serverName, srvID, state, srvGrp, rqAddr, totWorkl, numReq);
    else{
    printf("%s\n", tpstrerror(tperrno));
    exit(1);
    tpfree((char*)rqbuf);
    tpterm();
    return 0;
    how to get local information ,not global information ?
    thinks!!!
    Edited by: 998527 on 2013-4-7 上午7:27

    See the TA_FLAGS in the docs;
    TA_FLAGS
    Long valued FML32 field identifying generic and component MIB specific flag values. Component MIB specific values that may be set in this attribute are defined within each component MIB reference page. Generic flag values and uses are listed below.
    MIB_LOCAL
    This flag is used to modify retrievals from certain classes defined in this MIB. For a number of classes in this MIB, there exists both global information (available at any site in an active application) and local information (available on the particular site where the object is active). Requests to retrieve information from these classes will by default retrieve only the global information and not the local for efficiency. If the application user is willing to wait for local information to be collected, possibly from multiple sites, this flag should be set on the retrieval request. Classes with local information have local attributes listed last in the attribute table with a subheading indicating that they are local attributes. Classes which have only local information will automatically default to retrieving local information even if this flag value is not set.
    MIB_PREIMAGE
    indicates that a pre-image check must be passed before a SET operation will be performed. A pre-image check insures that occurrence 0 of any MIB specific class attributes match the existing object. If so, the object is updated using occurrence 1 of any MIB specific class attributes. Attributes occurring less than two times are not considered for pre-image checking. Multiply occurring fields are checked if their associated count attribute is specified twice.
    MIB_SELF
    This flag is used as a shorthand to indicate that identification attributes for the client or server originating the request should be added to the request buffer prior to processing. For clients, TA_CLIENTID is added and for servers, TA_GRPNO and TA_SRVID are added.

  • Setting Application level Transaction Timeout

    Hi,
    I have seen option in weblogic to set jta transaction time out. Is there a way I specify application level timeout.
    Thanks,
    Bhargav.

    Scott,
    Many thanks for the response.
    We've found a way around this now, by changing the developer's usernames to the same as their NT/ Active Directory signon, which fools APEX into maintaining the session id from their builder session even though when logging into the application they get authenticated by LDAP.
    Using a post authentication process would be ok but I can't see any way of passing a variable retrieved in the authentication process under the first session to the post authentication process so that it can be set in the second session. We'd either therefore have to insert the data into a table and read it back or add an extra LDAP call to retrieve the user role/ group list during the post authentication process.
    Thanks again,
    Matt

  • Best way to manage global application data

    Hello,
    I'm looking for the best way to manage my global application data. I have a program containing about 70 application settings which are loaded from an ini file and organised as clusters and loose variables. I want to be able to use these settings across multiple vi's. The application settings can be modified during execution. Some vi's can change settings and these changes need to be visible accros all vi's.
    What is the best way to manage this. Ideally, I would have one cluster or class containing all the application settings but since the sub vi's run independend, I can't wire them through. 
    From what I've read so far, global variables ain't really well suited for this due to race conditions. The FGV might be a solution but it is not clear to me how to implement this for many variables. (One FGV or multiple FGV's, etc... Does anyone have a good example of this?)
    Are there any other good solutions? Any advice is welcome!
    Best regards,
    Wouter

    You can also create a singleton LVOOP object (maybe a few if you want to logically organize your settings). When you initialize the system you create the object and it uses a DVR internally to store your data. Since this is a singleton object you do not need to wire it through your code. Your subVIs simply call the appropriate methods and it will interact with the class data. A FGV is basically the same thing except that you only have a single VI so you are more limited with your inputs and outputs. A singleton object let's you refine the connector pains based on the methods and what they are doing.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Global Application Parameters for EJB

    Hello all, I did a search for this on these forums and there are there a TON of threads of developers wanting to implement the classic Singleton pattern so that all EJB's of an application can access "Global Application Parameters". Most of these I've been reading achieve this by workarounds that breakdown at the clustering level, since Singletons won't span multiple JVMs.
    Suppose you deploy an EAR that only has EJB jars, so you don't have access to all the convenience of the web tier (context parameters, context Initialization, etc.), so there is no way for your EJB's to detect/intercept an "Application Startup" event and load any necessary values into a Global Application parameter repository.
    This seems such a widely demanded functionality that I wonder if there now a "best practice" way to achieve equivalent of the Singleton pattern in the EJB world that works nicely in a clustered environment?

    I have the same problem
    Thanks

  • Maintaining Application level values

    Hi all,
         I have a doubt regarding maintaining Application level data in webdynpro application. If two concurrent users accessing the same webdynpro application if one user changes some data it should be reflected to other user also. This is my requirement. For this Context attribute is not helping me becoz it is maintaining data per user. <b>The changes made to the context is applicable to that user only.</b>
              If i want it to maintain for all users , is there any way to achieve it?  Using Static variables i can achieve this , but without that is there any way to do it??
    Thanks in advance,
    Regards,
    VJR.
    null

    Hi Amit,
        Thank you very much for your reply.
        I will explain my application scope. I have a webdynpro application which has two views in it. First view is login view. The user enters his userid and password and logs in. In the second view there is a table, the data in the table will pulled by calling a webservice for that userid. Let it be some salesOrders of that particular user who logs in.
                       And there is a list of items(Products)  table in the same view. And there is a functionality of adding the some more items to that table. And one thing is that let us suppose we are not storing it in the Database. If i store the newly added item in the database then there is no problem. I can fetch it from the DB.I want it to store at application level.
                        And when User2 logs in and add an item i want the same to be reflect in the User1 View also. To achieve this where i have to maintain the Data.  (I think controller context also User Specific).
                 I think you have understand my problem. If you want any thing more clear please reply.
    Thanks in advance,
    VJR.

  • V8 Application Level Caching (Singleton Object_?

    I have a requirement to have our data base lookups cached in an object which is
    shared for all sessions accessing the application. Normally this would be accomplished
    via a singleton object. Howerver in the spirit of bea v8, I would like to use
    V8 controls to populate the caches.
    I have created a control called LookupImpl and a database control called LookupDB.
    LookupDB is a member variable of LookupImpl. LookupImpl has an init() method
    which will retrieves data from LookupDB and caches it for later use.
    If I place LookupImpl on a page flow it works fine. But if I manually instantiate
    LookupImpl (x = new LookupImpl())) in a java class (my singleton class intended
    to share one copy of the information among all users) , when LookupImpl tries
    to run a method on its LookupDB member variable, the member variable is null and
    the process blows up.
    I have also read in an article
    http://dev2dev.bea.com/products/wlworkshop81/articles/wlw_internals.jsp
    stating that controls cannot be manually instantiated.
    So my questions are:
    What would be the best practice for doing sharing application level cached data?
    It is true that a java class cannot instantiate controls?
    Can a control be defined to be a “singleton”?
    Thanks for all input
    gr

    I have a requirement to have our data base lookups cached in an object
    which is shared for all sessions accessing the application. Normally this
    would be accomplished via a singleton object. Howerver in the spirit of
    bea v8, I would like to use V8 controls to populate the caches.That's an odd approach. Normally you'd have a singleton, hang a cache object
    in the JNDI tree, or even have an EJB that handled this task.
    Peace,
    Cameron Purdy
    Tangosol, Inc.
    http://www.tangosol.com/coherence.jsp
    Tangosol Coherence: Clustered Replicated Cache for Weblogic
    "gerry rodman" <[email protected]> wrote in message
    news:3fcfb309$[email protected]..
    >

  • Unable to license Office 365 ProPlus when customized at the application level

    It has long been claimed that Office 365 ProPlus can only be installed as one single package, and that Click-to-Run is not customizable at the application level.  Microsoft lists the following at
    http://technet.microsoft.com/en-us/library/jj839718.aspx “Office 365 ProPlus installs as one package. This means you can't choose to deploy Word and PowerPoint to users, but not Access.
    If you don’t want users to run Access, you can customize the installation by using App-V. You can also use AppLocker to prevent users from starting certain Office applications.”
    Can anyone then explain the purpose of the additional product ID’s specified in the following kb article:
    http://support.microsoft.com/kb/2842297
    Using the product ID’s listed here, I set the Configuration.xml file to selectively install only four Office products, which included Access, Excel, PowerPoint and Word.  In this example, I removed the Product ID O365ProPlusRetail and instead just included
    the Product ID’s for the individual applications we wanted to install.
    <Configuration>
      <Add OfficeClientEdition="32">
       <Product ID="AccessRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="ExcelRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="PowerPointRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="WordRetail" >
         <Language ID="en-us" />     
       </Product>
      </Add>
     <Updates Enabled="TRUE" />
     <Display Level="None" AcceptEULA="TRUE" />
     <Logging Name="OfficeSetup.txt" Path="%temp%" />
    </Configuration>
    Given what I had read throughout multiple areas of documentation, especially the line that mentions, “Click-to-Run is not customizable at the application level,” I was surprised and excited to see that the click to run installer only installed the applications
    that I specified.
    Using the Configuration.xml file I specified above, I was able to complete a custom install of Office 365 ProPlus, and included only programs that I wanted to have installed.
    The issue comes when you go to license the software.  I can launch any of the individual programs without issue, but I am unable to complete the process of activating the license.
    For example, see below where I have launched Word, entered my account information and attempted to activate.  Everything has worked fine up to this point, but I am told that I cannot activate because the product is not installed.  It seems that
    my custom install has prevented needed information from being added to my system to allow for the activation wizard to detect the presence of the installed Office software and to activate appropriately.
    Can anyone from Microsoft comment on this?  Is there any way possible to proceed given my configurations?  If not, what is the purpose of
    http://support.microsoft.com/kb/2842297 ?
    In what case would you actually be able to use the additional product IDs? (AccessRetail, ExcelRetail, WordRetail, etc.)

    Whilst I don't work for MS, I have a few thoughts on this..
    The documentation refers to the use of ODT for customisation, but that is mainly for customising the install-time aspects and the update sources, not the resultant feature state.
    For controlling feature state, either AppLocker of re-packaging/sequencing via App-V is suggested.
    KB2842297 mentions the products that ODT will "recognise" for the purposes of "customisation", but doesn't really detail how nor why.
    C2R, as it is a pre-packaged sequenced output, is intended to be consumed as-is, by the vast majority.
    Re-packaging/sequencing of a complex product such as Office isn't for the faint of heart (and to be honest, the installers for Office have long been a complex topic over many years)
    MS have stated for many years that the individual component applications of the Office suites, are not permitted to be broken up out of the suite, for license compliance.
    e.g. If you install OfficeProPlus, and via customisation, disable or do-not-install specific component apps, you must hold a license for the relevant suite (ProPlus in this example).
    Even if you re-compose the resultant installed apps, such that only those apps that would equate to OfficeStd, because you installed ProPlus, it is a ProPlus license that you must hold.
    Similarly, if you were to install individual apps, composing a feature-equivalent result to ProPlus, and "functionally" have the same set of apps that ProPlus would give you, holding a license for ProPlus is not sufficient, becuase it is not ProPlus
    that you have installed.
    So, when you modified the configuration XML, and downloaded and installed "WordRetail" + "ExcelRetail" etc, this is not equivalent to ProPlus (neither from an installed-product perspective, nor from a licensing perspective).
    It seems to me, that your license (as recorded/represented in your MS account) is finding that you have products installed for which you don't hold a license.
    And, that the license that you do hold, is not a match for the products you are trying to activate.
    In years gone by, MS did make available individual products (e.g. Word, Excel etc) for sale.
    I don't know if MS continue do make individual apps, in C2R form, available for sale, but the Office product team have created ODT in such a way that ODT can cater for them.
    Perhaps in some global markets, or possibly in the future, MS might make those individual products available in C2R form.
    So I'm not all that surprised, based on nothing more than previous experience (sprinkled with some assumption and theory), that you've found some interesting, slightly-mystifying things ;)
    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!)

Maybe you are looking for

  • Ipad lock.. no passcode..

    my ipad i locked since my IOS7 upgrade. I tried to restore it as explained at apple's support center but still it wont work..

  • "Missing parameter value" error on autoprinting with CR layout

    Hi all, i had recently run into the following: document layouts that work perfectly from preview and after adding a document, dont work if the document is auto printed on add. Gives an error: missing parameter value And in system messages log: Error

  • Unlocking a phone after 2 year contract?

    Just finished 2 years on my latest contract, this is my 2nd 2 year contract with at&t and I am officially never going to use AT&T again..problem is now i'm stuck with an iphone that's the equivalent to an itouch just with an antenna. I've since switc

  • Photoshop CC 2014 always crashes

    Good day, I installed yesterday Photoshop CC 2014 and need to uninstall the Photoshop CC (old) help to penetrate the Errors Fix!

  • Error in Dynpro

    Hi all, I am getting error in Dynpro...if you go transaction code st22 and in that screen i got errors like dynpro_send_in_background if you double click on that and i can see this error... Error in ABAP application program The current ABAP program "