How can I redirect an URL which variable is included?

I would like to redirect a page to a URL when user define an option from drop-down list. For example, when user choose "3" in "Month" drop-down list, the URL will be http://adobe/testing/3.html
The message box is accepted like this:
xfa.host.messageBox("http://www.adobe/testing/" + Month.rawValue + ".html")
However, it is not accepted on xfa.host.gotoURL
Do any know how to solve it?
Thanks/

Hi,
Here is a sample: https://acrobat.com/#d=vnEiKl03M3bd4C2PiXtALQ
if you use the app.launchURL function you can build up the variable URL as a rawValue of an object or a mixture of a string value and rawValue.
xfa.host.gotoURL("http://www.adobe.com"); will create a PDF from that URL address, which may not be what you want.
If you do want to create a PDF, then the approach in the sample will also work.
Hope that helps,
Niall

Similar Messages

  • How can i see the URL which has  length more than 255 chars in fucnction

    Hello Every body....
      I am facing one problem....I have a function module which returns URL in one table
      but in the function module display i am able to see only 255 characters,but the URL is more than 255 Characters..How can i see the URL which has the length more than 255 characters..
    In the Table the fields url length is 4000 chars.....
    but display it is showing only 255 chars.....
    Please Help me...??????????

    Hello,
    Have you tried breaking your structure into 255 chunks? I don't know what the structure you are moving from looks like, but you should be able break it back up into the SOLI structure. The end of a line in SOLI doesn't create a Carriage Return/Line Break. You have to insert these yourself like in the following:
    * Create document
          clear mail_line.
          move 'This is a test E-Mail'(d01) to mail_line.
          concatenate mail_line
                      cl_abap_char_utilities=>newline
                      into mail_line.
          append mail_line to l_mailtext.
    What kind of attachment are you wanting to create - a text tab delimited file for reading in a spreadsheet application such as excel? You might try reassembling your data table into a single string with newlines where you need them. Then use function module SCMS_STRING_TO_FTEXT to turn it back into SOLI. This is what I have done in the past. I'm afraid without knowing more about your source structure and attachment type, this is about all I can tell you.
    Vasanth

  • How can I tell the LMS which variables I want to pass to it?

    Hi I am working on developing an online course and I am required to put it to a locally-developed LMS which I don't have access and control to.
    What I now know is that:
    1. This LMS can only accept data passed from a singlep-packaged SCORM;
    2. A single packaged SCORM can pass two variables to this LMS: total score and pass/fail;
    However, the customer wish to keep track on the learners' performance as much as possible, which means they want more data than just the final score
    and pass/fail.
    Can someone explain to me how I can specify which variables to be passed to the LMS? Even I understand that I may still not be able to get it work, given that I don't have any access/control to the set up of the LMS, I wish to understand the mechanism, and to be able to explain why I can't make this happen to my supervisor.
    Thanks for any inputs.

    In SCORM-compliant LMSs the "mechanism" for transferring interaction data is via JavaScript variables.  SCORM uses a standard JavaScript API that all compliant LMSs are supposed to understand and interpret correctly.  (I use the words "supposed to" because the reality tends to be that they all interpret the standard a little differently.)
    If this is a "locally developed LMS" then all bets are off.  You should in theory be able to transfer quite a bit of information, but with a home-grown roll-your-own system at the other end, you have no way of knowing how it will handle that information.
    You need to talk to whoever built or is currently in charge of this LMS, hopefully someone with technical knowledge and expertise.  Get them to tell you how much of the SCORM standard is actually supported.  Only then will you know if you can use some more advanced Captivate functionality to pass more scoring information (e.g. interaction data as well as score/pass/fail).
    If your current LMS is truly only able to accept a couple of values, and your customer wants more than this, handball the issue back to them.  They'll either have to upgrade their LMS or revise their requirements.

  • How can I redirect a URL with aliases or redirect?

    Hi all,
    I have this partially working on my servers, but am not 100% sure I am doing this corerectly.
    Basically I have a Web site domain, let's call it product.com
    In server admin I have a site set up called www.product.com under port 80 and another under port 443 for my SSL pages.
    Here is my problem: If a customer types "product.com" in their favorite Web browser address bar, I would very much like the server to automatically redirect them (if that's the correct term) to "www.product.com"   Currently they would end up on http://product.com/index.html when they key in the URL without the "www"  I am concerned this is hurting my SEO and Google analytics as well as being an issue internally for PHP pages that are coded to the "www" addresses.
    I also have a sign-in page for my clients at the address: http://www.product.com/lib/app/auth/authenticate.php.  When a client types "signin.product.com" I want them to go to that long URL for the sign-in page.  I have gotten this to work by setting up a new Site in Server Admin > Web > Sites named "signin.product.com" which then has a single entry on the redirect tab with the URL of the signin page above.  Not sure if that could have been done on the core Web site (www.product.com) or if that was the way I should do it under Server Admin or if there is an easier way to do it.
    Primarily I want to be able to handle redirecting any type of subdomain "xxx.product.com" to another address.  The primary one I want to deal with now is the "product.com" redirecting to "www.product.com".....  Should I just set up another Web site in Server Admin with a redirect like I did for "signin.product.com"?
    Any advice on doing proper redirection appreciated.
    -- Jon

    There are so many ways you could do this. You need to pick what's right for you.
    Some of the options are available through the GUI. Many more are available once you get under the hood and drive Apache directly. Your skill and comfort level will undoubtedly influence which path you take.
    At the first level, Apache groups sites together by the hostname used to access the site.
    If you want 'www.product.com' to go to the same place as product.com you could create one site with an alias, so that Apache uses the same 'site' configuration for both hostnames.
    If you want the two hostnames to do different things then you could create two sites - in this case 'www.product.com' has the full, normal site and 'product.com' has a redirect to the equivalent page on 'www.product.com'.
    Within www.product.com you can also setup selective redirects to the HTTPS site. This will ensure that things like the login form are accessed securely. In this way your HTTPS site is another 'site' in Apache with the SSL configuration.
    One caveat in your post is the use of 'signin.company.com'. You don't describe your network, but if you have only 1 public IP address then this is going to be an issue since you cannot easily run multiple SSL sites on a single IP address - you'll need a different public IP address for each SSL site. This is because the SSL negotiation occurs before Apache knows what site the request is for, and therefore it doesn't know which SSL certificate to use for the connection.
    So, in general, you'll create one site for each variation in your web setup - one for 'www.product.com/port 80', one for 'www.product.com/port 443', one for 'product.com/80' (which redirects to 'www.product.com'), and so on.

  • How can I redirect the URL without telling the user about it?

    I am working with blazeDS and the access to it goes thru a specific port that you have to enter like this: http://www.go.com:123
    So I wont to redirect my users to this port without showing this in they link bar, so when they press "Refresh" it will send them back to home page.

    I m not sure whether this will be helpful to you but I used the following to redirect:
    var adobeURL:URLRequest = new URLRequest("YourURLGoesHere");navigateToURL(adobeURL,"_self");
    Thanks,
    Bharani

  • Urgent....How can i redirect to my jsp page from servlet in init() method..

    How can i redirect to my jsp page from servlet in init() method..Becoz that servlet is calling while server startsup..so im writing some piece of code in init() method..after that i want to redirect to some jsp page ...is it possible?
    using RequestDispatcher..its not possible..becoz
    RequestDispatcher rd = sc.getRequestDispatcher("goto.jsp");
    rd.foward(req,res);
    Here the request and response are null objects..
    So mi question can frame as how can i get request/response in servlet's init method()..

    Hi guys
    did any one get a solution for this issue. calling a jsp in the startup of the servlet, i mean in the startup servlet. I do have a same req like i need to call a JSP which does some data reterival and calculations and i am putting the results in the cache. so in the jsp there in no output of HTML. when i use the URLConnection i am getting a error as below.
    java.net.SocketException: Unexpected end of file from server
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:707)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:705)
    at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:612)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLCon
    nection.java:519)
    at com.toysrus.fns.alphablox.Startup.callJSP(Unknown Source)
    at com.toysrus.fns.alphablox.Startup.init(Unknown Source)
    at org.apache.tomcat.core.ServletWrapper.doInit(ServletWrapper.java:317)
    so plz do let me know how to call a jsp in the start up of a servlet.
    Thanks
    Vidya

  • How can i redirect to another JSP page automatically after some event

    I am developing a Tic-Tac-Toe game which can be played between two players who are on two different machines.
    When the first player comes to the Welcome page he will redirected to a Waiting Page when he clicks on the 'Start' button.
    When the second player comes to the Welcome page he will be redirected directly to the Game page, on clicking the 'Start' button.
    So how can i redirect the first player to the Game page after the second player is available for the game.
    And if i want to manage multiple instances of my game how can i do that//
    I am using JSP, javascript and MySQL for developing my project, and I am new to all these tools, but i would still like to carry on with all these only

    This is a bit of a challenge because of the nature of the web. Generally the web is "pull only" meaning that the browser has to initiate any interactions - the server can't push data to the browser if it wasn't asked to.
    The easiest way to solve this is using AJAX via JavaScript to periodically poll the server for any status changes. There are other ways (the Comet protocol is one) but they start to get a bit difficult and are still a bit new and not completely supported in a standards way. And to be honest they are still basically polling though in a more efficient way.
    Are you using a JavaScript framework? Most of the JavaScript frameworks that I've used have built in support for polling in the background. You'd have to have the JSP/servlet side be able to handle these polling requests from the browser and, when another person joins the game, the server indicates that and sends that back to the browser.
    As far as multiple instances I would have the server automatically pair up users as needed. So when the first player arrives he has to wait for another player. When the second player arrives a new game is created for those two players. Now a third player arrives and waits until a fourth player shows up. When player 4 joins another separate game is created. Presumably the conversation between the browser and the server will need to include a "game number" or other unique number so that the server can keep track of the games.

  • How can I display char if a variable is null

    Hi All,
    How can I display char if a variable is null  in sap business object
    item name
    Office Visits
    Non-Emergency ED Utilization
    Non-Preferred Pharmacy
    above items are value and they are populating for this month but form next month "Inpatient Stays" a new item will add at database level
    i want to display this item with current month
    final result should be
    item name
    Office Visits
    Non-Emergency ED Utilization
    Non-Preferred Pharmacy
    Inpatient Stays
    i have tried with ISNULL function but it is not working
    please help i am using SAP BO 3.1
    Thanks in Advance
    Ranjeet

    You should be able to findout NULL using isnull([object]) function.. at report layer..
    Try with the below formula which should work for you
    =If Isnull(trim([object])) then "Inpatient Stays" else [Object]

  • How can we provide 2 URLs in the HR personalization form, so that users can

    We are not able to open the PDF report from the external node which is placed under the OA_HTML. Nvaigation is Employee Self Service for US -> Update or Add Direct Deposit Account
    Internal urll ----"http://tech.com:8000/OA_HTML/TTEC_Benefits_Docs/Branded/DebitCrdholderBrochureSignature.pdf"
    However, the external users from internet need to access the pdf document and this fails for them because they have no access to above URL from public internet. They need to get to above pdf document for e.g. as:
    "https://publicerptech.com:443/OA_HTML/TTEC_Benefits_Docs/Branded/DebitCrdholderBrochureSignature.pdf"
    How can we provide 2 URLs in the HR personalization form, so that users can access the pdf document?

    Hello David,
    Sorry for not getting back to you sooner. You can provide feedback on Transport agents by using this site:
    http://officespdev.uservoice.com/.
    With regards,
    Michael | Microsoft Exchange Developer Content
    The
    Exchange Development Forum Guide has useful information for using the Exchange Development Forum.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How can i set a column which would show me the name of the user

    how can i write a trigger which would show me the name of the user now make changes in the table.

    872959 wrote:
    how can i write a trigger which would show me the name of the user now make changes in the table.I think what sb is trying to say is: if you mean the database user, you can use the USER session variable to identify the database user:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions227.htm#SQLRF06156
    you would write a before each row trigger to update an "updated_by" column on your table to be USER.
    e.g.:
    :new.updated_by := USER;

  • How Can i get the URL of a page

    How Can i get the URL of a page . like in ASP the
    Request.QueryString() ...
    Thanks

    Are you wanting actual URL or just the url (query string
    variables)?
    For url variables you would reference the structure.variable
    name like so:
    #url.variablename#
    So if you had a url like this:
    http://www.somedomain.com?page=home&action=view
    You could access the variables like so:
    #url.page#
    #url.action#
    If you are wanting to actual page you could use:
    #cgi.script_name#
    Bryan Ashcraft (remove brain to reply)
    Web Application Developer
    Wright Medical Technologies, Inc.
    =============================
    Macromedia Certified Dreamweaver Developer
    Adobe Community Expert (DW) ::
    http://www.adobe.com/communities/experts/
    "Yasmin_lady" <[email protected]> wrote in
    message
    news:e4fhjv$fpl$[email protected]..
    > How Can i get the URL of a page . like in ASP the
    Request.QueryString()
    > ...
    > Thanks

  • I am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier

    i am having macbook air recently my iphotos did not open and was showing report apple and reopen but i came to know that by pressing alt and iphotos i open an new photo library and stored the pics but now how can i get the pics which i had in the earlier photo please help me to recover my photos

    Well I'll guess you're using iPhoto 11:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Repair Database. If that doesn't help, then try again, this time using Rebuild Database.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. (In early versions of Library Manager it's the File -> Rebuild command. In later versions it's under the Library menu.)
    This will create an entirely new library. It will then copy (or try to) your photos and all the associated metadata and versions to this new Library, and arrange it as close as it can to what you had in the damaged Library. It does this based on information it finds in the iPhoto sharing mechanism - but that means that things not shared won't be there, so no slideshows, books or calendars, for instance - but it should get all your events, albums and keywords, faces and places back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one.  
    Regards
    TD

  • How can i restore my iphone which was erased by iCloud?? I got my phone back but it wont work when i connect to iTunes.

    How can i restore my iphone which was erased by iCloud?? I got my phone back but it wont work when i connect to iTunes.

    The following assumes you've been backing up to icloud all along.
    http://support.apple.com/kb/HT1766?viewlocale=en_US&locale=en_US
    Go to Settings>General>Reset and tap Erase All Content and Settings.  This will erase your device.  Then you will go through the setup screens again as you did when your device was new, and when given the option, select Restore from iCloud Backup.
    Let us know if this method does not work.

  • How can i print only pages which have been highlighted, from a multi page file?

    How can i print only pages which have been highlighted, in a multi page file.

    Ah, I see want you mean. This might not be practical for you, but if you select one instance of the highlighted text and add a [space] to the little sticky note, all of the highlighted text on that page will appear in the summary.

  • How can I find the URL for an iCal calendar in iCloud so I can make a link to it on a web page.

    I have a single iCal calendar that I want people to access through my webpage.  How can I find the URL so that they can view the calendar without having to subscribe to it.  I converted to iCloud from .Mac and I can see that changes to this calendar are not showing up.

    Mmmh.. i see... I don't know wether it is possible for people just check calendars without subscribing to them... I have been sharing some calendars in my website (maybe you can have a look at it in order to check wether it could be a possible solution for you)
      http://web.me.com/andreabruschi/englishplanet/English_Courses.html
    Cheers
    Andrea

Maybe you are looking for

  • In 10g can we dump control file and get SCN info.

    Hi, I have a question can any one help me on this. In 9.2.0.5 we could dump the control file and get the SCN using the command : alter session set events 'immediate trace name CONTROLF level 10'; In 10.1.0.4.0 the output of the dump has changed and w

  • Use iTunes Library on a NAS server

    Hello all, is there a better way to enjoy my music and movies all over the house than to use a NAS server - copy the iTunes folder there and select it as data source? This is not the most elegant of all solutions: I need to mount the NAS every time,

  • Adding New File Type/Editor (CS6)

    There are a number of posts around editing Extensions.txt and MMDocumentTypes.xml but those posts don't seem to be solving my issue. I have 40+ Dreamweaver users and I'd like to be able to send them one or two configuration files that add new extensi

  • Is there any possibility to develope java application for IPhones

    Is there any possibility to develope java application for IPhones

  • Connection pool -  api

    Hi, the following code try to connect mdm with connection pool : <i> Context ctx = new InitialContext(); IConnectionFactory connFactory =    (IConnectionFactory) ctx.lookup("deployedAdapters/MDM Factory/shareable/MDM Factory"); IConnectionSpec spec =