Passing user info into precompiled flex2 .swf

Hello all,
Using flex builder to precompile my .swf how do I then pass
client info to the SWF when a user accesses it? I have information
like profile_id and user_id that need to accompany all of my remote
calls, so how do I get them loaded into the swf if it is
precompiled? We are running CF 7.02. I thought maybe URLLoader to
hit a .cfm page, but I am wondering if the request would carry any
header info...no header means I could not identify who made the
request and then I am back where I started.
Thanks for any Help.
-Mark

Thanks inlineblue. that is exactly what i was looking for.
Although now am curious if there is any way to pass an object into
the swf. My guess is no...not on the init, but if anyone knows how
to, that would be great.
I know how to pass objects through remoting, just not on the
init. I could loop over the struct (it is really a named array) and
create name value pairs, but I was hoping to avoid that.

Similar Messages

  • Passing user parameter into your sql query

    I've created two user parameters...'Order_date_from' and 'Order_date_to'
    I've written a simple query to list the total order amount, order number, party name and ordered date
    Select sum ((unit_selling_price)*(ordered_quantity)), count(line_number), oe_order_headers_all.order_number, hz_parties.party_name, oe_order_headers_all.ordered_date
    from oe_order_lines_all,
    oe_order_headers_all,
    hz_parties,
    hz_cust_accounts
    where oe_order_lines_all.header_id=oe_order_headers_all.header_id
    and oe_order_headers_all.sold_to_org_id = hz_cust_accounts.cust_account_id
    and hz_cust_accounts.party_id = hz_parties.party_id
    group by order_number, party_name, ordered_date;
    I want to know how I can pass the value for the above mentioned parameters into my sql query so that it reflects as the 'ordered_date' in the report and only shows the data for the dates that the user inputs.
    Any feedback would be appreciated. Thanks.

    I want to know how I can pass the value for the above
    mentioned parameters into my sql query so that it
    reflects as the 'ordered_date' in the report and only
    shows the data for the dates that the user inputs.
    Any feedback would be appreciated. Thanks.And how does the "user" input these dates?

  • Word macro search via LDAP for User info into Doc

    I'm looking for a macro that will help me create Userinfo in a doc when i start a new doc.
    Exampel surename lastname and Deparment. Adress City and phone and some more.
    Where can i find som info about this. The info need to be connected to the logged in Usename.
    I hope the macro will be able to connect to fieldcodes/bookmarks so it will be possible to ad them in to a doc with autonewmacro.
    Best regards
    Christer

    Hi,
    Since you are looking for a macro which we don't support in this forum, I suggest you post the question in this forum below:
    http://social.technet.microsoft.com/Forums/scriptcenter/en-US/home?forum=ITCG
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    Regards,
    Melon Chen
    TechNet Community Support

  • Passing array args into stored procs

    Hi,
    we are trying to use TopLink to perform the mapping of a pretty large schema (200+ tables). For the purpose UI presentation we only need a few different view types, not the full information in the schema, so we want to provide specific "view objects" mapped to the DB that can be batch read by their ids.
    Defining views in the DB and mapping these to objects with TopLink doesn't work well because the views require joins and the tables are pretty large (the WHERE IN on the ids of the rows to read from the view is only applied after the entire view is instantiated).
    Alternatively, we are trying to use stored procedures that take a VARRAY or TABLE OF INTEGER as input arg and return respective cursors. However, we couldn't figure out how to pass array infos into a stored proc using TopLink. Any suggestions?
    Thx,
    Olaf

    I believe when you're doing it with an insert, you're saying "execute this insert statement a bunch of times, here's all the values in advance", which is different than passing an array to a stored procedure where you want it to execute once.
    Oracle's ODBC driver doesnt support Associative Arrays (aka index-by tables).
    Hope it helps,
    Greg

  • GRC 5.3 CUP SP16 - User info not loading from LDAP into CUP

    Hello,
    We have multiple LDAPS that we needed to connect to our CUP system to authenticate the userids before a request can be created for them. And also to bring in Manager ID and manager email from LDAP as the first level approver for requests.
    My client hasn't maintained the actual LDAP userids, Manager and manager email fields correctly, so we utlized three other custom fields in LDAP and then did field mapping in CUP for those fields. But even when the connection to all the LDAPs is successful, there's no user information being pulled in from LDAP into CUP.  I noticed that when I use our backend SAP QA system as 'User Data Source' while using multiple LDAPS for 'User Detail Source Data' , it only reads data from SAP QA system SU01 area and even when I'm trying to create requests, no Manager info is being pulled from LDAPS for that user id. 
    SAP does not allow the use of multiple LDAPS for the configuration-->User Data Source , top option.  So, if a client has userids in multiple systems, it can only read from one data source.  But even when I temporarily assigned one active directory LDAP to the 'user data source' option, it stated, no records found. So, something is up that no data is being pulled from LDAPs even when the connection to those systems is successful. I just asked our AD guy to temporarily assign domain admin rights to that LDAP connection ID to see if it's access issue, and still I am not getting any LDAP data to read into GRC CUP.
    Anyone else has had this issue? Is there especial access that the LDAP connection id needs access in LDAP to be able to retreive data into GRC? Is there any jobs that need to be run to read LDAP data. I thought it should be live as the system is connected to LDAPs. I don't understand if the connection is successful, why the user info is not being pulled from there and even after the LDAP custom field mapping is done, those field values are not showing up on requests.
    We need the following to happen:
    1). Authenticate the custom userid field in LDAPs to ensure this user exist as an employee b4 request can be created for the user. For this I have configured the multiple LDAPS for the 'Authentication'. But it doesn't seem to confirm that option when creating a request for a user.
    2). The user details info source should bring in the custom manager id and manager email into the request to send the first level of approval via workflow to that manager. Since SAP doesn't give the option to define approvers per user group values in CUP, we had to actually map all the User Owner approvers this way since their direct managers are not aware of  what to request as the User owner approvers per user group are.  So, we added custom fields for Manager id and Manager EMail into LDAP to be ready automatically into the request when reading user id while creating request.
    I will greatly appreciate anyone's help on how they got the LDAP field values to be read into GRC CUP for request processing and what type of encripted access can a LDAP connection id have without assigning it complete domain admin rights on an open port 389 for LDAP and GRC CUP connection.
    Thanks and Regards,
    Alley

    Hi Alley,
    1). Authenticate the custom userid field in LDAPs to ensure this user exist as an employee b4 request can be created for the user. For this I have configured the multiple LDAPS for the 'Authentication'. But it doesn't seem to confirm that option when creating a request for a user.
    This is not possible. You can have only 1 LDAP. Why you want to authenticate the user in different sources?? CUP looks at only one user source, not many. The below wiki explains you the configuration part:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b089fb71-a3b7-2a10-64a2-8c77243b0664
    2). The user details info source should bring in the custom manager id and manager email into the request to send the first level of approval via workflow to that manager. Since SAP doesn't give the option to define approvers per user group values in CUP, we had to actually map all the User Owner approvers this way since their direct managers are not aware of what to request as the User owner approvers per user group are. So, we added custom fields for Manager id and Manager EMail into LDAP to be ready automatically into the request when reading user id while creating request.
    Based on user group is not possible. However, if you wish to maintain the Manager's Field, ensure that the CUP mapping is done correctly from the Configuration, Field Mapping, LDAP Mapping.
    While defining the workflow, take the approver determinator as Manager. This will route the request to the users manager. Also, ensure that LDAP is the source in all the confiuration areas in CUP.
    Check note 1228996 for more information.
    Hope this helps!!
    Regards,
    Raghu

  • Getting the User Info while Invoking the Process

    Hi All,
        We have created few processes and are working fine.. Now we got a new request to enable the Site Minder authentication for each request. In our project the LiveCycle process is getting invoked from a Flex code via SOAP end point. Flex application is authenticating the request by reading the info from the request object sent by the Site Mider. Is there a way in LiveCycle process to read information from the browser request object? Our application is not linked with LDAP. We wanted to know the user id that was passed as part of the Site Minder authentication and use it in the rest of the services.
        Thank you for your time and help..
    Regards
    Srini

    Jasmin,
             Thank you for your reply. What you are saying is, the Parent app which is invoking the LiveCycle process needs to read the Request object and then pass the user info to the LiveCycle process.
             So we do not have a way to read the browser cookie information from the LiveCycle process. Just want to confirm..
    Thanks
    Srini

  • How to pass user and password in workspace when open a bqy

    hello,
    how to pass user and password of workspace when refresh a bqy for a query in DB2.
    I don't know where to insert the properties in order to use user and password of workspace,
    I want to use user of login of workspace,
    I don't want to make to appear the mask of login newly when the user refresh the query.
    I don't want to set a default user and password
    thanks
    massimo

    Dear Friend,
    What you mean?
    1. Do you mean how to pass login page on workspace ?
    2. or Do you mean how you can use a connection file to connect to db that is hide from user?
    3. or You mean how to use user & password to login to doc on workspace
    Answer for 1:
    use link
    http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy?user=admin&pass=password
    Answer for 2:
    a) Upload or import connection file ( MyConn.oce ) to DB2 into workspace,
    b) for IR doc properties change file connection ( MYConn.oce )
    Answer for 2:
    use link without user & pass parameter
    http://HyperServer:45000/workspace/browse/get/MyFolder/MyIR.bqy <?user=admin&pass=password>
    regards
    siyavuş

  • Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?   What do I need to do dif

    Time machine only copies User Info and Users (Applications, Library, and System are missing) from my quad core Mac Pro.  45 Gb of 162 Gb are missing.  Any one having success with time machine copying all folders using Mavericks?
    What do I need to do differently?

    The late, great Pondini was investigating that issue before he passed away.
    See here: https://discussions.apple.com/thread/5125969
    I think there might be information there on how to reset Time Machine to do a full backup. I think you basically have to reset it and start over.

  • Importing NT User information into Portal

    We are using Portal in an NT environment, and we have been able to get through the necessary single sign on issues.
    Now, we need to pull our NT user information into Portal's user database, including all the groupings we already have set up so that we can take advantage of Portal's exceptional security features. This is key to our ability to use the product, and to our demo in a week.
    The fact is we have 5,000 users to enter, and it is prohibitive for us to do that through the standard Portal APIs. We already have the users' input once in NT, we can get a flat file with all the information we need, we just need a way to get this information
    into the appropriate tables within Portal's database.
    Is there a script or some more "automated" way you can suggest for us to do this?

    Maybe you could try to use an intermediate LDAP export file (ldif), since Active Directory is LDAP-based and you can plug a LDAP to your Portal SSO Login Server.
    I only have tried exporting and importing using .ldif files up to now.
    I also have heard about techniques to use NT user account info to log on to Portal ; 'could be easier.

  • Java error when importing info into a table

    Hi I am trying to import data into a table from a csv file. I Log into the Database via Oracle Enterprise Manager 10G. I then goto Administration and Import user file. I then give the username and password of the user on the Server. I choose my csv file and click next. I then Choose my Table and click next, this is when I get an error..
    500 Internal Server Error
    java.lang.ArrayIndexOutOfBoundsException: -128
         at oracle.sysman.emo.util.UIXDataSource.initialize(UIXDataSource.java:322)
         at oracle.sysman.emo.util.UIXDataSource.<init>(UIXDataSource.java:188)
         at oracle.sysman.emo.util.data.LoadPreviewDataDS.<init>(LoadPreviewDataDS.java:58)
         at oracle.sysman.emo.util.data.LoadBean.initPreviewDataTable(LoadBean.java:3002)
         at oracle.sysman.emo.util.data.LoadBean.validateFileFormatPage(LoadBean.java:1920)
         at oracle.sysman.db.util.data.LoadController.validatePage(LoadController.java:757)
         at oracle.sysman.db.util.data.LoadController.onSubmitForm(LoadController.java:707)
         at oracle.sysman.db.util.data.LoadController.handleGoto(LoadController.java:779)
         at oracle.sysman.db.util.DBJobController.handleEvent(DBJobController.java:821)
         at oracle.sysman.emSDK.svlt.PageHandler.handleRequest(PageHandler.java:376)
         at oracle.sysman.db.adm.RootController.handleRequest(RootController.java:169)
         at oracle.sysman.db.util.UtilControllerResolver.handleRequest(UtilControllerResolver.java:128)
         at oracle.sysman.emSDK.svlt.EMServlet.myDoGet(EMServlet.java:688)
         at oracle.sysman.emSDK.svlt.EMServlet.doGet(EMServlet.java:291)
         at oracle.sysman.eml.app.Console.doGet(Console.java:285)
         at oracle.cabo.servlet.UIXServlet.doPost(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
         at oracle.sysman.emSDK.svlt.EMRedirectFilter.doFilter(EMRedirectFilter.java:101)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:16)
         at oracle.sysman.db.adm.inst.HandleRepDownFilter.doFilter(HandleRepDownFilter.java:138)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:20)
         at oracle.sysman.eml.app.ContextInitFilter.doFilter(ContextInitFilter.java:269)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:600)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:317)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:793)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (9.0.4.1.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    I do not get this error with other tables and this file only with this table. Any help would be greatly appreciated, let me know if more info is needed.

    Thanks that did work out for me. However, I am still curious why I am getting that message in the Enterprise Manager. Well I was able to upload my info into the database and it was a better solution too.

  • Reset user info in Office 2007

    My bad!!  I pushed out an image of Office 2007 to my users that has a username and initials that do not match the user.  How can I reset this information so that the next time they open the Office application, it promps them for their username and initials all over again?
    Thanks!!

    Hi,
    I came across this in a VDI environment whereby after an user loggs off the VDI is deleted and a new one is created.
    I created a small script to help me with fill in the blancs (USER Info) again
    I log in in the VDI, so my user account is known. I call a command file from HKLM\Software\Microsoft\Windows\Currentversion\Run
    In this command file I start wscript File.vbs AND %username% as parameter
    wscript "C:\Program Files\VDI-Office-USR-Info\OfficeUserInf.vbs" %username% %windir%
    The VB script is like this
    Dim Arg, var1, var2
    Dim objRegistry, strInti, strName, key1, key2
    Set objRegistry = CreateObject("Wscript.shell")
    Set Arg = WScript.Arguments
    'Parameter1, begin with index0
    var1 = Arg(0)
    'Parameter2
    var2 = Arg(1)
    'msgbox "First parameter passed was " _
    '       & var1
    'Clear the objects at the end of your script.
    Set objSysInfo = CreateObject("ADSystemInfo")
    var1 = objSysInfo.UserName
    Set objUser = GetObject("LDAP://" & var1)
    'strFullName = objUser.Get("displayName")
    'strFirstName = objUser.Get("GivenName")
    'strLastName = objUser.Get("sn")
    strInti = objUser.Get("mailNickname")
    strName = objUser.Get("GivenName") & " " & objUser.Get("sn")
    'MsgBox strFullName & " " & strFirstName & " " & strLastName
    'MsgBox strName
    key1 = objRegistry.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Office\Common\UserInfo\UserInitials",strInti,"REG_SZ")
    key2 = objRegistry.RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Office\Common\UserInfo\UserName",strName,"REG_SZ")
    WriteReg = key1
    WriteReg = key2
    set Arg = Nothing
    Problem solved

  • Compile a project into multiple independednt swfs

    I'm putting together a reports application. Each report will
    have some charting component, a few controls to specify some
    parameters, and a few HTTPServices to fetch the data and user
    settings (some of those services will be used in more than one
    report). How can I configure my project in Flex Builder to compile
    several different MXML files into their own SWF that can be run
    alone?

    Use MXML Modules for each report. Each report will compile
    into a SWF file that can be loaded into the main application on
    demand. This limits the size of your main application. You can
    compile the modules independently with ANT tasks.

  • How to pass bind variable into oracle reports 6i - Parameter form

    Hello All,
    I want to pass bind variable into Oracle Reports 6I - Parameters.
    I have tried out that but got the below error :-
    rep-0781 : Bind variables are not allowed in the select statement
    Kindly help me is there any option which allow me to pass bind variables into Oracle reports 6I.
    Thanks
    HARSH SHAH

    Hi,
    may be its not possible to use :P_PARAM1 in user parameter of oracle 6i reports
    but u can full fill user requirement using oracle forms
    create a form as like as report parameter window
    then create parameter list and run report
    PROCEDURE Run_Emp_Report IS
      pl_id ParamList;
    BEGIN
      pl_id := Get_Parameter_List('tmpdata');
      IF NOT Id_Null(pl_id) THEN
        Destroy_Parameter_List( pl_id );
      END IF;
      pl_id := Create_Parameter_List('tmpdata');
      Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
      Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id, NULL);
    END;
    thanks
    mostafiz mitul
    Dhaka Bangladesh

  • I want to change my apple id on my macbook pro in the user info. it ask for a password...i am typing in my password to the apple id but it will not accept it....how to solve it ?

    i want to change my apple id on my macbook pro in the user info. it ask for a password...i am typing in my password to the apple id but it will not accept it....how to solve it ?

    I'm afraid that you may be confusing two different 'passwords' - there's your Apple ID (the user name and password that you used to get into these forums) and then there's your computer user name and password - usually two seperate user names and passwords.
    If you want to change your password for your user account on your computer, go to System Preferences>Users & Groups and unlock the preference pane. Then you can select your user name and change your password there. Changing a user name is a bit complex and I don't think you want to try that!
    Clinton

  • Gathering user info

    Using elements 8 and windows 7.  When I open Elements, the bar that says gathering user info rolls forever.  I have let it run for an hour and it never finishes.  Is something missing on my PC?  DoI need to reinstall?

    The best thing to do is to just skip the unwelcome screen. Go into the program files or, if you have a 64-bit system, program files (x86) and find the actual editor and/or organizer and make desktop shortcut(s). Then use those in the future instead of the welcome screen.

Maybe you are looking for

  • Error occured when I create Web Application by SharePoint 2013

    SharePoint 2013 can not create Web Application. The ULS log contains tons of the below error. Does anyone know how to fix those Process errors? Process: w3wp.exe (0x0EE4) Product: Web Content Management Category: Publishing Cache Level: Unexpected Me

  • Error while starting Upgrade Assistant Server

    Hi everyone, I'm trying to upgrade a 4.7 System to ECC 6.0, but did not get very far. When I try to start the Uprgade Assistant Server using java -cp ua/ua.jar UaServer, I get the following error right after entering and conforming the password: java

  • AdobeEdge - Using variables within a symbol

    I am completely new to Adobe edge, but I do have a little development experience (VB, VBA, C#). I would like to create a global variable when the animation starts (strClicked = "No" - or similar).  When one of the buttons is clicked on I would like t

  • DVD's played on external DVD player freezing

    I'm burning some DVD's on my MacPro but when i pop that DVD into a DVD player connected to my TV, it seems to freeze up. Any ideas?? thanks

  • Airtunes stopped working

    I performed the update to 10.5.8 today. Since then, I get this error message when I try to play itunes music over Airtunes: "an error occurred while connecting to the remote speaker "chumpchangenet". An unknown error occurred (-15000)." Has anyone el