Passing multiple session values from cold fusion into a flash movie

Hello all,
I know that to pass multiple variables into a flash movie
you could use the embed tag like this(with the & between each
variable):
<embed
flashvars="variable1=value1&variable2=value2"
></embed>
Now to pass a single session variable from coldfusion in i
did the following; which worked:
<embed
src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>"
width="550" height="400" autostart="true">
</embed>
Note that i had to use the cfoutput tags to get the value
stored in the variables. Now; i tried to do the same thing for two
session variables and the second one does not get read in. Here was
my code:
<embed src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID=<cfoutput>#session .testTypeID#</cfoutput>"
width="550" height="400" autostart="true">
</embed>
Can someone please tell me what I am doing wrong? Thank you
very much in advance.

Hold on there was a little error: My final code that did not
work was the following:
<embed src="ASdb.swf"
FlashVars="UserName=<cfoutput>#session.userName#</cfoutput>&testTypeID
=<cfoutput>#session.testTypeID#</cfoutput>"
width="550" height="400" autostart="true">
</embed>

Similar Messages

  • Passing multiple character values from parameter form to PL/SQL

    Hi,
    I am passing multiple character values from parametr form into
    the report query and a PL/SQL procedure. It works fine with the
    query, when I use &variable. But, it doesn't compile in PL/SQL,
    so I just used the :variable, but not getting any records in the
    PL/SQL procedure. Any suggestions?
    sincerely,
    gj

    gj / Fedro,
    Only using the &referecne, you can pas a string / multiple character values and this would work for query only.
    The bind parameter in PL/SQL wouls support only single value
    Thanks
    The Oracle Reports Team

  • Passing Multiple Single Values from Sender Query to Receiver Query in RRI

    Dear All.
    We have 2 - Bex Reports ZBEX_1 & ZBEX_2
    1. In ZBEX_1 having the fileds data like the below.
    Account Doc. Number - Clearing Document --- Amount
    12345                  -  65432                --- 100
    12346                  -  54321               ---  50
    2. In ZBEX_2 having the following data.
    Account Doc.Number -- Amount
    45342                     - 10
    66666                        -  100
    65432                       -   10
    54321                      - 5
    3. I am Traying to create RRI Between ZBEX_1 & ZBEX_2 , with Sender query as ZBEX_1 and Receiver query as ZBEX_2
    If I drilldown from ZBEX_1 need to show the following output in the ZBEX_2
    Account Doc. Number  -  Amount
    65432                       -     10
    54321                      -     5
    i.e If Clearing Documnet in the ZBEX_1 is same as Account Doc. Number in ZBEX_2 those Account Doc. Numbers I have to show in the output of ZBEX_2 RRI Report.
    Both the records I have to show at a time.
    So please suggest me
    1. How to pass Multiple Single Values to Next Query using RRI
    2. How to Map Clearing Document to Account Doc. Number in RRI.
    NOTE: Account Doc. Num length is same as Clearing Document
    Please suggest me.
    Thanks & Regards,
    Kiran Manyam

    Your scenario of passing values from multiple records in Source does not suit well for RRI Jumps.
    In ZBEX_2 query, create a Replacement path variable on Clearing Document. In that Replacement path variable, use the Replacement with query option and choose the ZBEX_1 as the underlying query source.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/bd/589b3c494d8e15e10000000a114084/frameset.htm
    When you execute ZBEX_2, what ever clearing document values that ZBEX_1 has will be passed through the replacement path variable as a filter to the ZBEX_2
    Hope it helps!
    Uday Pothireddy

  • Passing multiple select value from BI publisher to PL/SQL functions

    Hi - I have designed a report which pass parameters (Multi select) into a function to get the output result. When a single parameter value is passed to the function, report is being displayed. When multi select value is passed to the function it is returning the error `wrong number or types of arguments in call to 'F_PROCESS_WAVE_DATA'. When i checked the parameters passed to the function, i can see each multi select value is treated as different value and is assigned to different parameter in the function.
    Any help on passing the multi select parameter into function will be helpful.
    Regards,
    Vikram.

    All - Issue was resolved. I followed the following steps to resolve the issue
    1. Create a PL/SQL table type variable as VARCHAR2 in the database - Say as Larray
    2. Create PL/SQL type record and table for the record in database. Lrec, Ltable
    3. In BI report pass multiple select LOV variable as Larray(variable).
    4. In DB function, Parameter should be defined as LARRAY.
    5. Return PL/SQL table type Ltable from the function.
    Regards,
    Vikram.

  • Passing multiple single values from R/3 BAPI to BW Query in VC

    Hi Experts
    I have a VC model where I am calling an R/3 BAPI which is returning a table of customer accounts.  I'm trying to go directly from that BAPI to a BW Query and pass the table of accounts into the BW Query.
    The BW Query has been set up with a variable to accept multiple single values for accounts, and I have mapped the correct output field from the BAPI to the correct input field on the Query.
    The BAPI does not seem to be passing the table of accounts into the Query.   If I hard code a single account in the mapping of the BAPI to Query call, the Query successfully returns the data I expect.
    Can I pass a table of accounts to a BW Query in this way?
    Many Thanks
    Tom

    Hi
    Have you tried with 'Group & Combine' operator. Just add this operator & join your BAPI & BI Query to this. Then in ths configure of this oparator select the 'Accoount' field & gourp the data accordingly. Also specify the aggregation if required. & in the table/chart after the operator select the fields which you want to show.
    I hope this is what you are looking for.
    Regards
    Sandeep

  • Passing Multiple Single values in User Exits

    Hello All,
    I have a requirement where in, a user could enter either a single value, multiple single values or a combination of a range and single values.
    This set of values need to be passed on to a variable with in a user exit. I have been able to get either one single value to pass or one single range. I am unable to pass on multiple single values or a combo of a range and single value from the user entry.
    I would appreciate if anyone could help me with the structure of the code to pass multiple single values or combo.
    I was wondering if I would need to pass the values into an internal table first and then pass it to the user exit variable. However, as I am not a strong ABAP resource, I am struggling.
    Any and all help is deeply appreciated.
    Warm regards
    Sunil

    Hello Marc,
    There are two requirements which I was trying to address.
    1. IN few queries, the users enter either a range of profit centers or multiple single values in the pop-up window. I need to pass those values from that variable to an variable of type USer Exit to derive partner profit center values with in the query.
    For this I have been able to pass values for either a single value or a single range. I am unable to pass on values for multiple single values or a combo of a range and single values.
    2. I am trying to create a query for the top 5 customers to be used in the Corporate Performance Monitor. However, when I am trying to use the variable of type "replacement path", the system does not allow me to release it for OLE DB for OLAP.
    To obviate this problem, I was hoping to create a variable of typeUSer Exit" and then pass the values from the variable of type "replacement path" to this variable.
    Is it a workable solution? I was hoping that the method to pass the values in both the above scenarios might be similar.
    Please guide me.
    Warm regards
    Sunil

  • Is it possible to pass a formula value from a sub-report to a main report

    Hi there,
    Im trying to pass a formula value from a Sub-report back upto into my Main report but the value doesnt seem to be getting passed up. Ive tried it the other way around, that is, passing a value from the main report to the sub-report and that works fine.
    Below is an example of what I am trying to do but it is not working. In my sub-report Ive declared a formula variable as,
    formula name=main_subIntRatePageCount
    Shared NumberVar subIntRatePageCount := TotalPageCount;
    and in the Main report Ive declared the formula variable as,
    formula name=subIntRatePageCount
    Shared NumberVar subIntRatePageCount;
    subIntRatePageCount;
    I want the value assigned to "subIntRatePageCount" in my Sub-Report to be available to my Main report.
    The problem I am trying to solve is that the sub-report is spilling over onto two pages, and I need a way of updating the page display on the main report to reflect this. The page display is of format, "displaying page 1 of  3", but its not taking into account the extra page produced by the sub-report, so it should say "displaying page 1 of 4".

    Also thanks Raghavendra, Asha,
    I've tried adding the "whileprintingrecords" statement but that doesnt seem to make any difference.
    I notice that the subReport is being called from my the GroupFooter section of the main report, and I am trying to reference the variable in the main repot in the Page Footer section. Could it be that the variable hasnt been calculated in the Page Footer by the time I calculate it in sub-Report? I thought Crystal Reports does at least 5 passes over the report evaluating all the formulas before it prints the report?
    The problem Im trying to solve is I need to know how many pages my report will have before its completed, so that i can print the statement "displaying page 1 of X", and X is currently not being calculated correctly because the sub-report is printing onto 2 pages and not 1 so the report thinks I have 1 of X pages and not X+1.
    Regards
    Robert.

  • Passing multiple integer values as parameter in SSRS

    Hello,
    I am trying to pass a comma separated multiple integer value parameter in SSRS report and it errors out complaining that it is not able to convert the nvarchar value to datatype int. But it works fine when I pass a single value. Here is the code I am using
    for the report and I am stuck at passing multiple values.
    SELECT
    id,count(*) as cnt
    from table
    and ID in (@id) group by id
    eg: if I pass 10,20,30 then I would get error however if I pass 10 then it works fine
    Is there a different method to pass multiple integer values?
    Thanks for your help.

    A comma is, of course, a textual character and not an integer, thus the error you are getting. Multi-value parameters can be used for this.
    Select "Allow multiple values"and set data type to Integer. Multi-value parameters deliver the values as an array. The query interface is smart enough to convert them to the proper syntax (comma-delimited) automatically so a statement like:
    WHERE Field IN (@id)
    where the parameter has an array of values {1, 2, and 3} is interpreted as:
    WHERE Field IN (1,2,3)
    You do not need to manually convert it in a transact SQL query. That is not the case for displaying the value array in your report. If you wish to display the array (described above) in your report as "1, 2, 3", you will need to use a join expression:
    =Join(@id, ", ")
    As DJ described, the other part to a multivalue parameter is the Available values. These can be set explicitly but given your example, I think it would be best to create a new dataset that retrieves a distinct list of the IDs that can be retrieved, perhaps
    something like:
    SELECT DISTINCT GroupName, GroupID
    FROM table
    WHERE [criteria]
    Set the available values to use this query with GroupName (or whatever user-friendly field you choose for your dataset) as the label and the id as the value. The label field should be something the the target report user can easily identify the correct group
    using.
    If you don't want to or can't use a multivalue parameter for some reason then you will need to manipulate your parameter value prior to consuming it in your query. When you add the parameter to the TSql query and save the dataset, SSRS adds it to the Parameters
    property of the dataset. Open the dataset properties and select the parameters tab. You should see your parameter in the list. click the expression builder (fx) button next to the value and enter this expression:
    =Split(@id,",")
    Note that the second element of the expression is the delimiter. If your text input has comma-space as a delimiter (1, 2, 3 vs 1,2,3) then that element must include ", ". My example just has comma so if you use that with a string "1, 2, 3"then
    the resulting array will still have 3 elements but the 2nd and 3rd elements of the array will have a preceding space which will cause your dataset to error with the same error. As long as there are no non-numeric characters in any of the elements, the split6
    will create the text array, SSRS will dynamically generate the correct "IN"syntax (comma separated) and SQL will convert the elements from VARCHAR to INT on the fly.
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Passing Multiple table row from one view to another view

    Hi,
    How to Passing Multiple table row from one view to another view in Web Dynpro Abap. (Table UI Element)
    thanx....

    Hi Ganesh,
    Kindly do search before posting.. this discussed many times..
    First create your context in component controller, and do context mapping in two views so that you can get values from
    one veiw to any views.
    and for multiple selection, for table we have property selection mode.. set as multi and remember context node selection
    selection cardinality shoud be 0-n.
    so, select n no of rows and based on some action call sec view and display data.( i think you know navigation between veiw ).
    Pelase check this...for multi selection
    Re: How to copy data from one node to another or fromone table to another table
    for navigation.. check
    navigation between the views
    Cheers,
    Kris.

  • How to pass multiple single values to parameter in planning function?

    Hi!
        I can not pass the variables (multiple single Values) from Input Layouts(BexAnalyzer) to Planning Function Types...Anyone have any idea for setting the parameter in the function types. I use the exit class CL_RSPLFC_BPS_EXITS.
    My Parameter Type is Elementary and also use variables allowed

    If you want to use the class as in a planning function type, proceed as follows:
    1. Create an InfoObject that accepts the name of the function module as a characteristic value. We recommend that you create an InfoObject of type character with length 30 and indicate that this InfoObject is "Without Master Data".
    2. In transaction RSPLF1, create a new function type. Chose the "Reference Data" option and enter the name of the class. This does NOT imply that reference data is read automatically, but results from the requirements for implementing the class.
    3. On the "Parameter" tab page, create two parameters - one for the exit module and one for the init module. The parameters should be "elementary". Chose the InfoObject you created in step two as the dedicated InfoObject. The names of the parameters are determined from the values of constant P_C_NAME_EXIT_PARAM and P_C_NAME_INIT_PARAM.
    4. If you require additional parameters in your function module (called exit parameters), you create these parameters as elementary parameters (with appropriate InfoObjects). Note an additional predefined parameter here - in many function modules, the name of the area is used from which the module is called. The area is not used in BI Integrated Planning but it may be the case that an area was created in BPS which only uses the current InfoCube. For this reason, you can create a parameter with the name specified in constant P_C_NAME_AREA_PARAM by specifying the name of this area to the function module. The value of this parameter is passed on to the function module in the interface as the value of the importing parameter I_AREA. Note that this technology can generally only by used for Basis InfoCubes and simple planning areas (not multi- planning areas or MultiProviders).
    You can create additional elementary parameters as long as the names do not correspond to the predefined names. The class automatically recognizes the additional parameters and transfers them to table IT_EXITP in the function modules.
    5. After you have activated the planning function type, you can create planning functions and fill the parameters accordingly.

  • Passing global variable values from databse to forms

    I am using forms 6i and database is oracle 9i.
    I am trying to run a form stand alone ( by pressing CTRL-R) without putting it in the application.
    since when this form is placed in the application menu it works fine as it has been passed global variables values from the database .
    now i am trying to run the form without menu and thus i want to pass the values of global variables .please let me know where should i pass these values in form .is it be WHEN-NEW-FORM-Instance trigger or in Pre-form trigger.
    i know what are the global variable values passing into the form from database.
    i can hard code any values to check if the form runs well or not.

    If you intend to do this sort of testing regularly you might want to consider creating a seperate form with a control block which allows entry of the name of the form you want to run, the names of the globals and their values, and do a CALL_FORM.

  • How can i store values from my String into Array

    Hi guys
    i wants to store all the values from my string into an array,,,, after converting them into intergers,,,, how i can do this becs i have a peice of code which just give me a value of a character at time,,,,charat(2)...BUT i want to the values from String to store in an Array
    here is my peice of code which i m using for 1 char at time
    int[] ExampleArray2 = new int[24];
    String tempci = "Battle of Midway";
    for(int i=0;i>=tempci.length();i++)
    int ascii = tempci.charAt(i); //Get ascii value for the first character.

    public class d1
         public static final void main( String args[] )
              int[] ExampleArray2 = new int[24];
              String tempci = "Battle of Midway";
              for(int i=0;i<tempci.length();i++)
                   int ascii = tempci.charAt(i);
                   ExampleArray2=ascii;
              for(int i=0;i<ExampleArray2.length;i++)
                   System.out.println(ExampleArray2[i]);

  • How to get a value from one item into another

    How can i get value from one item into another item.
    Ex: I have a report, in there i have check boxes, and when i have checked some rows, and press submitt, a prosses computates it into a item on another page, and a branche redirects to page 3. Then i'm going to use the value in the item into a PL/SQL script in an report to show the submittet items.
    How can i do this?
    Computation script, pages and all that is fixed. But i dont know which PL/SQL statement to use to get th value from the item.

    Hi Fredr1k,
    Use the V() function from pl/sql.
    e.g. V('P3_MY_ITEM')
    will return the value of that page item.
    As long as the pl/sql is called from within the Apex environment.
    Regards
    Michael

  • Need to dial a phone number from Cold Fusion

    My boss asked me if there was any way that a phone number
    could be dialed from Cold Fusion. We have a website where at some
    point we want to just click a button and dial that phone number. My
    guess is that the conversation will then be carried through the
    computer's microphone and speakers and using the computer's modem.
    Let me know if there is a way, or what would be the easiest
    way to accomplish this, even if it has to be using VOIP, since
    that's an option for this project.
    Thanks!

    Is this an internal site or an public-facing site? If you are
    talking about using this tool in your intranet and you have a
    modern phone system in place, there may be an API to interfacing
    with your phone system. We use a TAPI interface to create a phone
    dialer so our callcenter agents can dial a phone number on their
    phone just by clicking on a link. I'm pretty sure there are a bunch
    of freeware/shareware TAPI COM objects you can use floating around
    the interwebs (If your phone system supports TAPI).
    If you are talking about a public-facing website, then I'm
    afraid I can't offer much advice other than to check out the Java
    Communications lead that Ted gave you.

  • Passing multiple single values to a Planning Sequence

    Hi All,
          We are using BEx Analyzer for  planning. We  are passing multiple single values for a single variable , to a IP-planning sequence.  Planning sequence is only taking the last value passed and ignoring the rest.
    Multiple variable values are passed as below:
    Name                            Index                 Value
    VAR_NAME_1     1     ZCC
    VAR_LINES     1     5
    VAR_VALUE_1     1     A10000001
    VAR_VALUE_1     1     A10000002
    VAR_VALUE_1     1     A10000003
    VAR_VALUE_1     1     A10000004
    VAR_VALUE_1     1     A10000005
    These cell references are passed to "command button" through the "Command Range" property.
    The values are calculated correctly but for only one Cost center (last one in the list) , In this case only data for the Cost Center "A10000005"  is processed and rest of the cost centers are ignored.
    What am I missing here? I appreciate your help.
    Patch Levels:
    SAP GUI  7.10 (Patch 16)
    BEx Analyzer 7.X SP 12
    Thank you,
    Math

    Hi Indu Sharma  - I have tried several combinations, but did not work.
    VAR_VALUE_1         
    VAR_VALUE_2         
    VAR_VALUE_3         
    VAR_VALUE_4         
    VAR_VALUE_5 
    VAR_VALUE_1        
    VAR_VALUE_1     
    VAR_VALUE_1        
    VAR_VALUE_1        
    VAR_VALUE_1  
    VAR_VALUE_EXT_1         
    VAR_VALUE_EXT_2         
    VAR_VALUE_EXT_3         
    VAR_VALUE_EXT_4         
    VAR_VALUE_EXT_5 
    Thank you,
    Math

Maybe you are looking for

  • Image preview not working with 3rd party photo apps in iPhoto/Image Capture

    I haven't had a problem until recently with the iPhone 4. Pictures taken with third party photo apps such as Shake It Photo or Hipstamatic no longer generate a thumbnail preview in either iPhoto or Image Capture. It's just a generic jpg icon. All pic

  • How do I change the highlight in the latest version of Pages?

    It looks like in Pages (I am currently using version 5.2) I can choose Insert > Highlight. This is great, however, how do I change the highlight color? It seems like yellow is the only option. I'm sure there is a simple and intuitive method that I am

  • Why doesn't the Radio option show up in the Library in iTunes 11?

    Everything else selected in preferences shows up in the Library (Movies, TV Shows, Tones, etc) but not Radio.  What am I missing? I also verified that there is no conflict with Parental Controls. BTW, I'm not a fan of the new look of iTunes at all. i

  • Preview won't open PDF file

    Hi all, I've just received a PDF file. I can open it with Firefox PC (at work), but when I do it at home Preview it gives this message: To view the full contents of this document, you need a later version of the PDF viewer. You can upgrade to the lat

  • WritePreprocessNotifier not working for PDF

    Hello everybody, for my Plugin I need to remove artobjects from the document before saving and add them again after saving. I used the kAIDocumentWritePreprocessNotifier which worked perfect for all *.ai files. BUT with *.pdf it doesn't work. Opening