Pass parameters in a DPS application

I have an app from the DPS with 2 slots. A slot contains a built-in code that is supposed to show a list of goods. A slot contains code that launches an external site in a frame within the DPS app.

In accordance with article API Marketing consumer news | Adobe Developer Connection, it is possible to pass parameters to an external application to a DPS application.

I'm running a problem. In my external site, I try to call the DPS application like so dpsapp://v1/slot/storefront?path=/content/test.pdf via a button.  What I noticed is that when I do that, the soft switches on the side window but urlPath queryingthe or urlQueryString returns a null value.

It seems that I can't pass a parameter to the DPS app within a single application. If I load the external website in Safari, I'm able to query for the parameters.

Am I missing a step here or isn't it possible?

Thank you

You need manage paths... the first is when the application has failed.  In this case, just use the code in the previous post ('companyName' change 'path').  However, if the application worked, but it is backgrounded, so you must have annexed a listener for the event event.

That is to say. adobeDPS.configurationService.applicationContextUpdatedSignal.add (this.updateContext, this);

And then your method "updateContext" navigate the urlQueryString as previously indicated.

Additionally, make sure that you have included "showcase" in the "name of the Goto link" when you set your custom button.

Tags: Digital Publishing Suite

Similar Questions

  • How to pass parameters to a Flex application?

    I'm new to Flex programming, and I need to pass to a server
    parameter generated at my test Flex application below. Can someone show
    me a MINIMUM of HTML page size that can pass the "myname" parameter to
    my Flex application?

    Thanks in advance,

    Beard

    <? XML version = "1.0" encoding = "utf-8"? >
    " < = xmlns:mx mx:Application ' http://www.Adobe.com/2006/MXML "creationComplete ="initVars ()">
    < mx:Script > <! [CDATA]
    [Bindable]
    public var myName:String;
    private function initVars (): void {}
    myName = Application.application.parameters.myName;
    }
    []] > < / mx:Script >
    < text mx:Label = "name:"{myname}"" / >
    < / mx:Application >

    Hello

    This docs page contains different version (more short long, static and generated) on how to pass arguments to the application through vars:

    http://livedocs.Adobe.com/Flex/3/HTML/Help.HTML?content=passingarguments_3.html

    (you simply set variable in the object that hosts your flash animation in a page, see doc linked for more details)

    Kind regards

    Peter

  • Pass parameters to flex applications

    Hello

    My question is: is it possible to pass parameters to an application flex like for example. in PHP, where it is made with the _GET and _POST arrays? For example, I want to open a simple Flex application in a new window and send this application a few key-value pairs, so that it would be possible to access it in the application.

    Thanks in advance, RP.

    Use the flashvars in the HTML wrapper file:

    http://flexdevtips.blogspot.com/2009/04/flashvars-passing-parameters-into.html

  • Passing of parameters to an Apex application

    Hello

    How to pass parameters to a page in an Apex application.

    I have an app 108 and 1 page, the link is ' f? p = 108:1.

    but to set a parameter, if its like this = > ' f? p = 108:1 & p1 = test"How do I get it back?


    thnx
    Nemo

    The link should not be like this:

    f? p = 108:1:2251557986239054:P1_ORGN:1530

    but like this:

    f? p = 108:1:2251557986239054:NO:P1_ORGN:1530

    I think that you should really start with the Developer Day + 2-Guide. You can also use my demo application:

    http://Apex.Oracle.com/pls/OTN/f?p=31517:1

    to see how different things nee to be put in place in order to work.

    Take a look at page 1. Here you have a link from the report with two, showing all employees belonging to a particular department.

    Denes Kubicek
    -------------------------------------------------------------------
    http://deneskubicek.blogspot.com/
    http://www.Opal-consulting.de/training
    http://Apex.Oracle.com/pls/OTN/f?p=31517:1
    -------------------------------------------------------------------

  • How to pass parameters in local html files using InDesign?

    How to pass parameters in local html files using InDesign, or how to pass info environment, such as the image, the html code is sitting on top in local html files in InDesign?  I try to use the code html-javascript, then simply pass parms to behave differently depending on where the code is placed in the folios of InDesign.  I don't know how to do it.  If I could read in some environment of the folio InDesign info by using html or javascript, which might work as well.  Please advise, thank you!

    In indesign, you can draw a box and connect the html code to display in this box, if you do it this way you don't let the application in browser.  In the control panel overlays folio, its web called overlays.

    I suggest you download Bringhursts ipad Bob application called DPS tips, it will give you a quick overview of all different overlays and basic opportunities.

    https://iTunes.Apple.com/us/app/Digital-Publishing-Suite-tips/id436199090?Mt=8

    Joe

  • How to run and pass parameters to the exe file in the txt file.

    Hello

    I am facing problem with passing parameters in the .exe file, which is run by labview.firstly that I have script .txt with the settings that I have to go to the .exe file. This .exe file is also a software, and this script is written for her. And now I have to create program in labview which should satisfy the following points.

    1. I have to use a button named "Run script". If I pressed the button, it should open the browser where I can choose the script .txt file.

    2 .exe application is expected open(Path already chossen).

    3. After passing the .exe application settings should be closed.

    4 and labview should now update its parameter

    I just open using Exce.vi .exe file, but I didn't get any idea to do more than this.can someone please help me?

    Thanks norbert. CAN I love it? What should I change now? VI attached below...

  • Passing parameters to dynamically loaded screws

    Hello

    I have a data acquisition application that uses an analog input, PCI-Hardware.
    With this material I enjoy different channels and display them in audio
    In operation 'Preview' I enjoy 4 channels and display them in 4 audios.
    I have therefore a quarter of the maximum sampling for each channel.
    Operation 'zoom' I only enjoy a channel (at the material max sampling rate)
    and display the data in the selected channel (the other channels are igored in zoom mode)

    My idea is to launch the different screws according to the mode (overview, zooom).
    I could imagine, that a good approach to perfom this task calls different screws
    of the main program.

    Unfortunately, I do not understand how to pass parameters to the VI if I call them
    using knots "reference open VI", "call for reference" and "close reference VI.
    I tried to understand the Labview "Example of dynamic load", but it's too complicated for me.
    Can someone give me a simple example to dynamically load the screws or y at - it white papers
    or nugets on this topic?


  • Passing parameters using ADR - 404 error

    Hi all

    I'm all new development APEX. We use the DEPT tables in the sample application oracle provided for practice.

    We currently use ADR to pass parameters, but it does not work as expected, or at all. We receive a 404 when you try to run the page.

    Objective: User enters number of Department for an article and a 'Change' event (or "lose focus", we have not yet decided) on a dynamic action fills the name field with the name of the service dept.

    Has anyone else got this error?

    If there is another method recommended, please let me know.

    Thanks for your time.

    Thanks for the answers, but we have understood the question.

    We have changed the JavaScript code as follows:

    $.getJSON ("https://apex.oracle.com/pls/apex/mfajertest1/department/"+ $x value ('P2_DEPT_NO'), function (json))

    {

    Console.log (JSON);

    $x('P2_DEPT_NAME').readOnly = false;

    $x('P2_DEPT_NAME').value = json.items [0] .dname;

    $x('P2_DEPT_NAME').readOnly = true;

    $x('P2_DEPT_LOC').readOnly = false;

    $x('P2_DEPT_LOC').value = json.items [0] .loc;

    $x('P2_DEPT_LOC').readOnly = true;

    });

    Thanks for the effort.

  • Anyone know how to pass parameters of taskFlow entry in MultitaskFlowBinding?

    How to pass parameters of taskFlow entry in MultitaskFlowBinding?

    While we might get these within regions in multiTaskFlow Binding input parameters.

    Check -http://www.awasthiashish.com/2014/08/create-taskflow-and-region-binding-at.html

    Download and view the sample application, it shows how to pass inputParameter using a HashMap for multiTaskFlowBinding

    Ashish

  • Passing parameters to the URL - availability in the new process of request

    Hello

    I am able to pass parameters in the URL of the APEX that defined the points of the application as below

    : http://application-tier server: port/pls/apexdev/f? p = 1001:1:APP_CLIENT_NUMBER, APPLICATION_NUMBER:0001285, 0000051:

    I would like to get and set other items based on elements of application passed as parameters. I would like to only enter once application.

    I found the best place for this action in a process of application with Point on new Instance of Process.

    The problem seems to be that the value of point of application has not been set at this point, and therefore the values are null.

    If I change the application process process Point to something that runs to each page as On Load: after the header, then the values are available. It is not suitable as only wish to run once at startup of the application.

    I can't find discussion of this documentation.

    1. I would be able to access URL parameters in the application process with Point on a new Instance of the process?

    2. are there any other equivalent task for access to URL parameters at the start of the application?

    Thank you

    Hello

    APEX runs only on the new process Instance when a new session has been set up. As you discovered, URL items are not yet saved in session at this point State. You can use a level app process before header instead, with a condition that makes that make it run when certain elements that you want to initialize are null.

    Kind regards

    Christian

  • Passing parameters from one page to another in ADF Oracle 11g Release 2

    Hello
    I'm developing an Application of Web Java EE very simple, in this I am filling a grid (table) on the first screen and on the selection of a line in this screen, I have to display the records in a form, in the next page.
    I want to transmit the information of primary keys from the grid screen to the shape of the screen (2nd page) and use this information to render the data, eventually, I'll have to perform CRUD operations.
    Please let me know how to pass parameters from page 1 to page 2 and use this data in the page 2 to return the records, Oracle ADF 11 g R2.

    Thank you.
    Rajat
    http://rajatnigam1.blogspot.com

    Published by: RajatNigam on July 4, 2012 13:16

    Same page or another page - it's all the same technique.

  • How to pass parameters to a Mac app?

    The open-a command will open a mac application, but when I try to pass parameters, it is interpreted as a file for this application to open instead of the application settings.

    If I try to open the application without using the command open, it fails.

    Any ideas?

    I think that the settings should follow the switch - args:

    http://developer.Apple.com/library/Mac/#documentation/Darwin/reference/ManPages/man1/open. 1 html

  • Passing parameters in Director. Is this possible? Experience with Multipoint?

    I use Director for a series of educational applications. I have a single projector (start) where students can click on their name. When a name is selected, Startup Spotlight consults a database to determine which educational projector is expected to be launched. Based on the results in the database, I use the call of baRunProgram boyfriend to start the appropriate Director projector. Right now, I use a text file to record the student's progress in their work their way through the educational projector. All this works fine for a single user on a single computer.

    However, I am having a problem with a customer who uses Microsoft Multipoint. Using Multipoint, there are several students running the program to start in the same place. Therefore, the text file progress of all students instead of one student's progress. Startup Spotlight knows what student is active but the individual educational Spotlight do not currently have this information. I could identify a single student to the education projector passing a parameter. First of all, is it possible? If so, how could he do?

    Abstract of the passage of a parameter, is there another method that might work to accomplish the same thing?

    Everyone works in a Multipoint environment? I am interested in other experiences with Multipoint.

    You can pass parameters to a projector on the command line, but only at the launch of it. Check the documentation for "line of command" and also the function of baCommandArgs() of Buddy API

  • Pass parameters with a function that is a parameter to another function.  Is this possible?

    Hello

    I have some difficulty to pass parameters to a function that is passed as a parameter.  In the code for my application I am instantiating this class five times: they are buttons in a menu.  In this category, I had an onRelease handler that does a number of things when a button is released, which is to call a function defined in the level of enforcement of the code.  My problem is that I don't know how to send parameters to the functions.

    In my StandardButton class I:

    class StandardButton extends MovieClip
    {
         
         /* define properties */
         private var selected:Boolean = false;
         public  var btnMenu:MovieClip = null;
         public  var execFunc:Function;
         
         /* define constructor */
         public function StandardButton()
         {
              trace("Standard UI button created: " + this);
              this.onRelease = releaseHandler;
         }
         
         /* define methods */
         public function releaseHandler()
         {
              if (selected) {
                   
                   //this["bg"].gotoAndStop("normal");
                   //selected = false;
                   
              } else {
                   
                   //show the normal state of all other buttons in the menu set
                   for (var i:Number = 0; i < btnMenu.btnList.length; i++)
                   {
                        this._parent[btnMenu.btnList[i]].bg.gotoAndStop("normal");
                        this._parent[btnMenu.btnList[i]].selected = false;
                   }
                   
                   //show the select state of the button
                   this["bg"].gotoAndStop("select");
                   
                   //execute the function attached to this button
                   execFunc();
                   
                   //set the selected boolean for the current button
                   selected = true;
                   
              }
         }
         
         
         /* define accessors */
         public function set execFunction(instructions:Function)
         {
              execFunc = instructions;
         }
         
         public function set buttonMenu(menu:MovieClip)
         {
              btnMenu = menu;
         }
         
    }
    

    In my application .fla file, I have this

    //This is the function that will be executed when the user presses the button
    function autoModeHandler (param:String) {
         
              trace("You pressed the " + param + " button");
              
                                  
    }
    
    init();
    
    masterContainer.menuContainer.Auto.execFunction = Delegate.create(this, autoModeHandler);
    

    The function is successfully "sent" to the class of StandardButton, but without any parameters.  How can I send parameters for the instance of the class with the way I had it built.  Any help is greatly appreciated!

    Thank you for your time and help!

    You can pass parameters as you're passing that work.  you just need an instance of StandardBtn.

  • Is it possible to pass parameters through eventlisteners?

    Hi all!

    Inside of a .fla file I have a few buttons, and each button will be tween a different image to the scene. All images are off the stage in the same x and position there and I just need to interpolate the coordinate x.

    Now, I am working with a document class external where I'm holding all my features and I'm stuck with interpolations. I'm willing to stay away from the tween flash engine and I'm working with tweenLite.

    My question is: is it possible to pass parameters through eventListeners so I can use something like this inside my docClass?

         public function animeThis (e:MouseEvent, mc:MovieClip, ep:int):void { //ep stands for endPoint.
         TweenLite.to(mc, 2, {x:ep});
         }
    

    If possible, how can I write the listeners if it's going to pass the event to be listened to AND these settings? And how to build the function so it will receive these settings and the event?

    If this is not possible, what is the best approach to do this?

    Thanks again!

    Hey Rafael,.

    Oh, it's too overwhelming to use a function to pass parameters to another function?

    It's completely legitimate way of dealing with things. Your original question was about passing additional params with the events - that's why I responded with the example of the custom event.

    Much depends on the needs of the application and architecture.

Maybe you are looking for

  • Sporadic call for iPhone connection 6 w / IOS 9.3.4

    Most of the calls on my iPhone 6 (IOS 9.3.4) download busy signal or switch immediately to voicemail, even when the phone is on but inactive. Reboot was no help. Only some callers on my list of Favorites seem to be able to connect. Some callers repor

  • How to bring back my WOT addon? It is somehow blocked.

    A few weeks ago, I ran a complete malware removal process. Subsequently, my module WOT (Web of Trust) have disappeared from my search function even if it shows that it is enabled. I downloaded it again, nothing helps. I don't know if the malware remo

  • Toshiba Excite Pro - Excessive battery drain

    A few weeks, my Toshiba excited Pro started draining battery standby time ago tomorrow. He's going in less than 24 hours from full to empty. On the battery monitor, it says 'Tablet standy' is originally battery drain - isn't an app has become crazy.

  • Satellite 1400-103 - where can I download the drivers?

    HelloAnyone know where I can download drivers for 1400-103? I did a search on the forum, but all the links are dead, and I can't find a section of the archive. I can find the details of the model, but by clicking on drivers returns just the normal fo

  • Automatic turning OFF even after have ENABLED it updates

    Two of the three times I start up my computer, I get a message that has been turned off "automatic updates".  I still turn it on but it turns off something.  Any ideas? Original title: automatic updates