Passing variables on the URL

Is it possibe to pass variables into edge from the URL? I can see a scenario where you could send people a link like site.com/myedgeanimation/?=bob or site.com/myedgeanimation/?=alice and BOB and ALICE could each get a personalized animation.

Hi,
If you want to implement the equivalent of Flashvars, you will find an example here.

Similar Messages

  • Can I pass variables in the URL string?

    I am trying to get some variables into a loaded swf at
    runtime. The variables will carry information so the swf can load
    the correct xml file. I thought we could pass them through the URL
    string like so:
    new URLRequest("testing.swf?myVar=varOne
    but it just throws an URL cannot be found error. How can I
    get variables into my swf at runtime?

    What you are doing is fine. But you will always get that
    error when testing
    the movie (Ctrl+Enter). Try it in a browser and it should
    work.
    BTW, another way of doing the same is to use a URLVariables
    object, like so:
    var req:URLRequest = new URLRequest("testing.swf");
    var vars:URLVariables = new
    URLVariables("myVar=varOne&myVar2=varTwo");
    req.data = vars;

  • Passing variables using the URL

    in the past I have alsways used internal navigation methods
    within Flex - i.e. viewStacks, and linkBars etc... but I need to
    use an (existing) external menu and link (communicate) it to my
    Flex Application.....
    is it possible to pass variable to (into) a flex 2
    application using a URL
    e.g.
    http://...............
    ?page=homepage
    picking this variable ("page") up and getting its value (in
    this case "homepage")
    and then use the variable in the Flex application to display
    the relevent component...... ???
    basically, I am trying to navigate through a Flex application
    using an external menu system etc...... and displaying the
    particular components within the Flex application relevent to the
    select links (within the external menu system) communicating the
    two using a URL etc......
    thanks,
    Jon.

    Passing data into a Flex app using the url on startup
    requires working with the html handler, causing it to build
    flashvars in the Embed or Object tag. Inside Flex, these are
    accessed using the Application.parameters array.
    But it sounds like you want ongoing communication between the
    Flex app and the browser. For this you should use
    ExternalInterface. I have not used it at all, so I can't be any
    specific help.
    Tracy

  • Passing variable threw the url to flash

    Is it possible to pass variables to a flash obect threw the
    url and how would the url look?
    something like this?
    http://critcore.wisc-online.org/cri...ml?Objectid=183
    then I would request the objectid in flash using send and
    load? Or how would I retrieve that?
    Thanks for your help I appreciate it

    it would look like:
    http://www.yoursite.com?theVariable1=var1&theVariable2=var2
    in flash you just access it with _level0 ie:
    trace(_level0.theVariable1);
    trace(_level0.theVariable2);

  • Passing variables through the URL String

    I have a template and outside the basic html - all the content is grabbed from a db. I want to use 1 template to generate all of the other pages for the site. So basically, the only way to identify the page would be through the URL string.
    So, something like -
    www.mysite.com/template.jsp?page_section=aboutus&pageID=1
    That string would query the database and output the content for page 1 of the about section.
    Does this make sense and where would I start to learn how this is done?.
    Again, I appreciate your help.
    Mark

    since database connections are costly affair i better use
    jsp include tag ratter then getting dadta from database
    assumming that u can devide your comman pages in 4 parts
    just assume
    top - logo
    bottom - common links
    center - data
    left - menu
    my jsp page would look like this (aboutus.jsp)
    <%@ include file="top.html" %>
    <%@ include file="left.html" %>
    <%@ include file="aboustus.html" %>
    <%@ include file="bottom.html" %>
    2) disclaimer.jsp
    <%@ include file="top.html" %>
    <%@ include file="left.html" %>
    <%@ include file="disclaimer.html" %>
    <%@ include file="bottom.html" %>
    this would reduce ur maintainnce as if u want to change top logo only top.html needs to be changed and it would affect in all pages
    regards
    [email protected]

  • How can I include a captivate variable in the URL of the website widget?

    I am using the website widget to bring up some customized content during the course.
    The URL contains a variable which will be different for every user.
    I can't find the option of including a variable in the URL with the widget.
    Has any figured out how to accomplish this?

    I am using Cp8.
    I publish in both swf and html5 formats so that the course functions on all device platforms.
    A swf only solution would preclude IOS since it doesn't support flash.

  • Web Object Widget and replacing Variables in the URL

    I am using the new Web Object Widget in Captivate 7 and need some help with setting up the URL for the widget correctly.  If I hard-code a static web page address, the widget works fine.  The problems comes up when I need to slightly change the tail-end of the web address depending on who is taking the course.
    I need to dynamically append some variable information onto the web address that we will be calling such as:
    http://www.someplace.com/customizeforstudent.htm?Student_Name=$$studentName$$&Student_ID=$$studentId$$
    Is there any way to dynamically load the variable information into this widget when the student takes the course?
    I know that I was able to use the samples on captivatedev.com to do this web page variable replacement when I used JavaScript on a button so I know it can be done that way. 
    (see: http://captivatedev.com/2013/08/08/javascript-solution-launch-a-url-with-captivate-variabl es-as-parameters/ )
    The down-side of the captivatedev.com example is that it forces the web page to show up "outside" the course (either in a new window or it takes over the browser window the course is playing in.  I want to use the web object widget so I can stay "within" the normal flow of the course we are developing.
    I have been able to get the student name and student id from our LMS using JavaScript (thanks again to http://captivatedev.com).
    Whatever process we come up with needs to work not only with Flash, but also HTML5.
    Thank you for your time.
    Randy

    Hi BubbaRB and welcome to the forums.  I love it when people have great questions regarding integration.. and this is an area that Adobe Captivate needs to be better at!  It would be nice if the stock web page widget in Cp 7 had the ability to substitute Cp user variables in the URL to make for dynamic rendering of the web page, but unfortunately that's a limitation of the stock widget.
    The web page widget on CaptivateDev.com is capable of variable substitution in the URL.  You just need to enclose the variable with double dollar signs $$cpQuizInfoStudentID$$.
    http://captivatedev.com/2012/08/07/adobe-captivate-6-x-widget-web-page-widget/
    This widget works for SWF and HTML5 output for Cp 6 and 7 and there's a free trial available.

  • How to pass session variables via the URL in CF10?

    Hi
    I have a client with some old Flash functionality (AS2). The SWF allows the user to upload an image. However a new session is being started when the upload script is called. I have added the CFID, CFTOKEN and JSESSIONID to the URL as I did in the past to maintain the session but I believe you cannot do this anymore with CF10, if this is correct can anyone point me in the right direction of how I would accomplish maintaining the session for the upload?
    This has a note about CF 10 - http://forums.adobe.com/thread/1178420
    Kind regards
    Shaun

    Hi Shaun
    Are you facing the same issue with all the browsers?
    Thanks
    VJ

  • Passing parameter to the URL in UWL

    Hi ,
      We are sending the workitem from ECC to UWL and all these works fine.
    We have a custom form that opens from the UWL workitem on the click of a button 'Launch URL'  . We need to pass a name into the cutom form while it opens.
    We are using the Task visualization in the SWFVISU.
                                 Visualization type  = Portal page
                                  DYNPARAM          = zname=${item.externalld}.
    But the URL opens with a null value. Kindly help.
    - Liz

    Hi,
    please check the following OSS notes;
    <a href="https://service.sap.com/sap/support/notes/1015257">Note 1015257 - Need to enter escape characters for direct input in Variable</a>
    <a href="https://service.sap.com/sap/support/notes/1062214">Note 1062214 - Errors with direct input in web variable screen</a>
    hope this helps...
    Olivier.

  • Passing Variable with a URL

    Hi,
    I’m trying to pass variables first - from a non-secure
    web site to a secure (on another server) form. I have that figured
    out, but when I go to submit the form, the variables I passed to
    the form, are not showing up on my return e-mail from the form.
    Here is the code for the FORM ACTION & Reurn Template -

    What do you see in the URL scope when you CFDUMP the page?
    (Hint: this problem is about scoping variables.)

  • Passing variable to the package

    Hi,
    I have package which is used to read the XML hirarerchy file and inserts the data into seven tables. Now i have one more different XML hirarerchy file which makes use of same package but just different table names and loads the data into another different seven tables.
    So i have to run the package two separate times with different table names and different file name. Is there any way i can just run the package by passing variables to select file names and tables to insert data into two sets of different tables.
    I hope i m not confusing you guys..
    say
    package A -- > XML file A --> seven Tables(part A)
    Package B(Same as package 'A', but just different table names) --> XML file B -- > Seven tables (Part B)
    My question can i make use of variables to select the file name and table names at run time of package ?? if so, how do i do it, any code example would be great ??
    Thank you so much !!! your assistance is greatly appreciated.

    I think you can change the table name with help of Dynamic Sql.
    Can you please send the example so that we can modify it with help of dynamic sql.
    Sandeep

  • Launching a page by passing parameters in the URL

    My app has a page sentry function that sets the APP_USER using the Apache mod_ntlm module to the Windows domain user. I check security for each page in a custom table that I maintain.
    If I try to launch a page by passing parameters in the f?p= URL like
    f?p=100:1:::::P1_ID:10
    since I dont have a session yet, the page sentry generates a session for me and redirects to the page (100:1), but I lose my parameters (P1_ID)
    How can I preserve the entire URL in this case?
    Thanks

    I modified the page sentry function like you suggested.
    Launched f?p=102:51:::::P1_ID:1234
    This got redirected to
    f?p=102:51:2458638498649564102
    My debug table has 8261051781657854662
    When I inspected session state for 2458638498649564102 using Workspace XXX>Manage Workspace>Session State Management>Recent Sessions>Session State
    it had no entry for FSP_AFTER_LOGIN_URL. All it had was
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    -      -      -      1:15:0:0
    There is no entry for 8261051781657854662
    Thanks for your continued help. Appreciate it.

  • How to pass array in the url of the servlet

    Hi Friends,
    How can i pass an array in the URL that calls a servlet. For instance,I have this in my servlet rite now:
            MyClass obj = new MyClass();
            String[] args = {"-opt1","-opt2","file1","file2","file3"};
            obj.main(args);I want that the "args" should come in the URL call,because some php application would be calling this, for instance:
    http://localhost:8080/MyProject/MyServlet?args=somearray
          MyClass obj = new MyClass();
          String[] arg = request.getParameter("args");
          obj.main(arg);Please help..I would really appreciate it.
    Thanks

    Sorry,needed to edit this,I am getting some problem,please help if you can:
    I call the java class from the servlet as shown above,and it executes fine but only for the first time...after that the tomcat automatically shuts down .....can someone explain me why????
    How can i get the execution control back to the servlet ..for example:
      System.out.println("Before execution..");
      MyClass obj = new MyClass();
      String[] arg = request.getParameter("args");
      obj.main(arg);
      System.out.println("After execution..");prints only "before execution..."..so can someone please tell me how can i bring the control back to the servlet...
    Thanks
    Message was edited by:
    java80

  • Passing parameters to the url which navigates to oracle applications

    Hi All,
    My requirement is i need to display a link in the email message, so that user can click it and can navigate to a form in oracle applications.
    The link will be like http://shine.apps.com/function_id=670&language=US etc
    I am able to display the form which the user wants, but they want the form to be queried with a value. so can anyone help me to how to pass parameters to the above url.
    Thanks in advance
    Srinivas Dodla

    I achived the same thorugh workflow. In the workflow define a attribute of type form and then pass the formname, applicaiton name, resp name and any other form parameters to it.
    You can mix forms personalization to achive best results.
    Thanks
    Prudhvi
    www.erpschools.com

  • Passing Values Via the URL

    Hello all,
    First off im pretty new to Apex and the Apex forums so Hello!<br>
    Im currently trying to create an Application which contrains a report. Now the report has a Source which contains the following:
    <br><br>
    SELECT 'a href="f?p=' || v('APP_ID') || ':7:' || v('SESSION') || ':' || ID || ':P7_TBname:' || v('APP_PAGE_ID') || '" INVALIDATE</a>' Invalidate,
    <br><br>
    now this seems to be corrently passing the Page number forwards, however I'm at a loss as to how to now remove this number from the URL and place it in a text box on page 7.
    <br>
    Can any one help me out on this one?
    <br>
    Thanks a lot in advance
    <br>
    Message was edited by:
    Harkonan (removed angle brackets from hyperlink so it displays)

    Found the problem,
    For any one searching in the future:
    The URL had the item values and name in the wrong section of the URL, as it was they were in the Debug and clear cash sections. Adding two : before the name solved this. For reference see this:
    f?p=App:Page:Session:Request:Debug:ClearCache:itemNames:itemValues:PrinterFriendly

Maybe you are looking for

  • How can I transfer my resume from an email to Adobe?

    i need to transfer my resume from an email document to a standard PDF or what ever format needed to use on job links websites.

  • HOW CAN I DOWNLOAD AND VIEW THE MOVIES I HAVE MADE WITH MY SONY CAMCORDER HDR-XR550VE?

    HOW CAN I DOWNLOAD AND VIEW THE MOVIES I HAVE MADE WITH MY SONY CAMCORDER HDR-XR550VE?

  • Some time tech pad not working correctly

    I am buy a HP Pavilion laptop from awok.com. Some time mouse teach pad not working correctly some time open windows 8.1 time bar and some time i am using mouse teach pad then automaticly come right click popup menu coming some time i am try to scrol

  • Hooking up DSLR to Laptop

    Need to know how to conect my Nikon D7000 to my lap top so that I can view the photos instantly. However I would also like to have the pictures go directly to my PSE. Any help???

  • Errors in Mapping

    Hi Friends,               I have a File to File Scenario. In source side i have a field EmpCode. It should be only numeric. After the execution if  the EmpCode value given is not numeric means i should get any notification or error message. Like this