Modifying submit url

I'm calling my pdf form using an XDP XML sructure. I'm successfully merging data with the form from data held in an <xfa:data> section. <br /><br />My question is: Can I modify the url the form is submitted to by inclding the url in the <xfa:data> section?

David<br />Thanks for your patience. I will try to explain my problem in more detail.<br /><br />A potential client has come along who have hundreds of static PDF documents and we are trying to convert these into PDF forms to merge seamlessly with our web application rather than having to rewrite the forms using HTML.<br /><br />My application has multiple IFrames in use together with navigation outside of the IFrame.<br /><br />I have a pdf form on my server (pdfdemo.pdf)<br /><br />I create an XDP file on my server pointing to this PDF:<br /><?xml version='1.0' encoding='UTF-8'?><br /><?xfa generator='XFA2_0' APIVersion='2.2.5028.0'?><br /><xdp:xdp xmlns:xdp='http://ns.adobe.com/xdp/'><br /><xfa:datasets xmlns:xfa='http://www.xfa.org/schema/xfa-data/1.0/'><br /><xfa:data><br /><form1><br />Some data to merge<br />Hoped to be able to define the submitURL target in here somewhere<br /></form1><br /></xfa:data><br /></xfa:datasets><br /><pdf href='http://myserver/pdfdemo.pdf' xmlns='http://ns.adobe.com/xdp/pdf/' /><br /></xdp:xdp><br /><br />An Iframe is populated in the browser with a "src" pointing at a custom function which will download the XDP file in the ASP Response<br /><br /><iframe ... src='RunTask.asp?Status=Download&amp;Filename=PW1A23.XDP'><br /><br />The download code is as follows:<br /><br />Set objStream = New ADODB.Stream<br />objStream.Open<br />objStream.Type = adTypeBinary<br />objStream.LoadFromFile strFilename<br />Response.Clear<br />Response.buffer = True<br />Response.ContentType = "application/vnd.adobe.xdp+xml"<br />Response.AddHeader "content-disposition", "inline; filename=" & strFilename<br />Response.AddHeader "Content-Length", objStream.Size<br />Response.BinaryWrite objStream.Read()<br />Response.Flush<br />Response.end<br /><br />The works, except that the PDF takes over the entire browser rather than the single IFrame in which it was loaded thus losing all application navigation and other work being done.<br /><br />I can download a static PDF using a similar mechanism (.ContentType = "application/pdf") perfectly well in the IFrame.

Similar Messages

  • Wsit: Modify the URL of the security token service at runtime

    I've managed to modify the url of my webservice endpoint at runtime used by a client application with the BindingProvider.ENDPOINT_ADDRESS_PROPERTY. Is it also possible to modify the url of the security token service?

    Check this article
    http://blogs.technet.com/b/sykhad-msft/archive/2012/02/25/sharepoint-2010-nailing-the-error-quot-the-security-token-service-is-unavailable-quot.aspx
    and similar thread
    https://social.technet.microsoft.com/Forums/office/en-US/78cd4366-b11b-4300-93a4-4135d55f561f/error-8306-an-exception-occurred-when-trying-to-issue-security-token-please-help?forum=sharepointgeneralprevious
    though it is SharePoint 2010 but will work similar in sps 2013 also

  • Modifying multiple url hyperlinks.

    Hi all.
    I've been working with InDesign CS3 to convert a catalogue into iPDF format for web distribution. This involves me going through the document page by page hyperlinking each program in the catalogue to the corresponding url. Recently I've been informed that all these hyperlinks need to be amended by addition of a few characters to the end of every url. This wouldn't be a problem, but there is a couple thousand hyperlinks that would need to be updated.
    This brings me to my question: Is there an easy way to modify/amend multiple hyperlinks within an InDesign document or alternatively a way I could do this same task using Adobe Acrobat Professional 7.10?
    Thanks in advance.

    My url hyperlinks currently look something like this:
    Eg.
    http://www.websitename.com.au/Product.aspx?id=PRODUCTG
    http://www.websitename.com.au/Product.aspx?id=PRODUCTQ
    and what I need to to is add another short code to the end of each hyperlink:
    Eg.
    http://www.websitename.com.au/Product.aspx?id=PRODUCTG  + '-22058'
    http://www.websitename.com.au/Product.aspx?id=PRODUCTQ  + '-22058'
    so they look like:
    Eg.
    http://www.websitename.com.au/Product.aspx?id=PRODUCTG-22058
    http://www.websitename.com.au/Product.aspx?id=PRODUCTQ-22058

  • Modify  webservice URL

    Hello,
    I am in need to modifying the a webservice URL at runtime. I used the improt wizard to import my webservice.
    I see its defined in the .settings/webservices.xml file but i dont know how to access that via code?
    Can this be done ?
    Drew

    It was possible and probably still is.  You would have had to have figured it out on your own, which is the same in this case. 
    Infoview has changed considerably in 3.1 so it doesn't surprise me that the URLs have changed.  You will need to investigate the links yourself if you plan on trying to use them in an application as we do not have any documenation on the links or locations.
    Also, none of the url parameters and such are documented since they are for internal use only so I can't tell you what any of them mean.

  • How to modified a URL showed in a Render phase from the Action phase.

    Hi all,
    I have a problem with a URL showed when I pass from action phase to render phase. Next I explain that problem.
    I'm using a Weblogic Portal 10.3., Java Portlet and Spring. My portlet contains two controllers (A and B). The controller A receive an action and depending of a parameter, shows a viewA (which is managed by A controller) or viewB (managed by B controller). To do that I use a ParameterHandlerMapping of SpringFramework, which if an action parameter is A, the portlet use Controller A and use controller B if an action parameter is B.
    Next I show you a Controller A method which receive an action:
    @ActionMapping(params={"action=A","execAction=redirection","pg"})
    public void accionIrFichaDispositivo(ActionRequest req, ActionResponse resp,
    @ModelAttribute("listadoVozForm") ListadoVozForm form,
    @RequestParam("pg") String paramPg) throws PortletException, IOException{
    if(pg.equals("Hola")){
    }else{
    resp.setRenderParameter("action", "B");
    In a Render Phase, which is managed by Controller B, the URL contains the value of action parameter: action=A.
    How can I modified that action parameter to show action=B?..
    Regards..

    Hello,
    What you are seeing is the expected behavior; the URL in the browser will be the action URL (with action=A) even though the portlet is setting a render parameter action=B in the action phase. There's nothing "wrong" with this; the "B" controller will get run because the render parameter "action=B" exists, even though it isn't what is displayed in the browser. In general, it is best to not be concerned about what parameters are in the browser's URL, as the portal framework is managing all the parameters for you on the server-side.
    If you really want the browser's displayed URL to not be the action URL, there is a feature built in to WLP 10.3.2 and later versions which will cause the browser to do a redirect to the render URL just after the action phase runs. This will make the browser display the "action=B" in the URL, but the redirect will also double the number of requests the server must handle, so consider if you really need the browser's URL to display the current render URL. To turn this feature on, modify the entry for your portlet in the WEB-INF/portlet.xml file to add a container runtime option "com.oracle.portlet.redirectAfterAction", like this:
        <portlet>
            <portlet-name>sampleRedirectAfterAction</portlet-name>
            <portlet-class>
                portlets.jsr286.SampleRedirectAfterAction
            </portlet-class>
            <supports>
                <mime-type>text/html</mime-type>
                <portlet-mode>view</portlet-mode>
            </supports>
            <portlet-info>
                <title>Redirect After Action Sample</title>
            </portlet-info>
            <container-runtime-option>
                <name>com.oracle.portlet.redirectAfterAction</name>
                <value>true</value>
            </container-runtime-option>
            <container-runtime-option>
                <name>com.oracle.portlet.suppressWsrpOptimisticRender</name>
                <value>true</value>
            </container-runtime-option>
        </portlet>The "suppressWsrpOptimisticRender" runtime option is recommended as a performance enhancement for any portlets being run over WSRP which also have the "redirectAfterAction" option, however, if you are running your portlets over WSRP you won't be seeing the render parameters in the browser's URL in any recognizable form anyway.
    Kevin

  • How do i submit url to search engine

    I m created a website for submitting a url to major search engine, i have a list of search engines, but how do i submit any url automatically to a searchengine through servlet.

    Each search engine is different. So go to each one and find their rules. Here's Google's rules for example:
    http://www.google.com/webmasters/

  • Modify document URL

    Hi...
    In XI 2 I was using following urls to redirect the user directly to the Modify report panel in Info view
    InfoView/CrystalEnterprise_Webi/modify.do
    InfoView/adhoc/modify.jsp
    Is this changed in XI R3?
    If yes can anyone tell me the exact URL that I should use to modify  crystal , webi documents?
    Thanks...

    It was possible and probably still is.  You would have had to have figured it out on your own, which is the same in this case. 
    Infoview has changed considerably in 3.1 so it doesn't surprise me that the URLs have changed.  You will need to investigate the links yourself if you plan on trying to use them in an application as we do not have any documenation on the links or locations.
    Also, none of the url parameters and such are documented since they are for internal use only so I can't tell you what any of them mean.

  • How to Modify Search URL's in Forums?

    OK, this has been plaguing me for a while now, but had time on my hands, so will ask for some assistance from the forum gurus here.
    Problem:
    I use the Forum Search (yeah, I know that the name could be better... ), to locate many articles to link to. In most cases, I know the exact Search keyword to use, but I then have an issue - the URL provided for the article is almost always pointing way down a long thread. That can be useful sometimes, but I want to get the URL for the beginning of those threads, to make it easier for others (especially new users) to get the thread from the beginning, and not at the end, or even the middle. Even when the Search keyword is in the title, and also in the OP, the Adobe Forum Search always dumps me at the end of the thread, or at best, the middle - never at the beginning.
    Here is an example:
    Search in Premiere Elements Tips & Tricks Forum for keyword "resources." I get http://forums.adobe.com/message/3953827#3953827, which is about the middle of that thread. The word "Resources" is used in the title, and also the OP (mine), but I do not get it, until down the thread. The Search function seems to overlook the first several uses of the word, and I get the URL for the Re:. This is the URL that I want: http://forums.adobe.com/thread/800455?tstart=0.
    What do I need to do, to get that ____start=0 ?
    Appreciated,
    Hunt

    Bill,
    Actually, it is sometimes possible to get to the thread URL in another way, but I am afraid it is no less silly.
    1) Make the search (Ask the Question) and get to wherever in the thread;
    2) Go to the top (if needed) and Click [the OP], then click [the OP]'s Stuff and see whether the thread is still in the list without Re: at the start.
    That will give the thread URL (without the ?tstart=0, though), as in this case http://forums.adobe.com/thread/1405227, which is viable in itself; you may add the ?tstart=0.
    I just made it before it went off the list.

  • Possible to Modify Submit Commands?

    I am a new user to Adobe products.  Currently I am working in Adobe Acrobat 9 Professional.  I am in the process of creating a multi page form for users to complete & email back to myself and other department members in my group.  The forms include fill in data fields and the document has been saved to extend features to Adobe Reader users.  Is it possible to include different submit fields throughout the same document?  For example, can a submit button be added for pages 1 to 2 where only that portion of the document is emailed to specific members of our department and not others.  We would also want to create a different submit button for pages 3 to 4 to go to a different email distribution listing & include only those pages and not the first two.  Presently, the forms are saved as separate documents, but we would like to merge into a single document since there is duplicate data that users have to enter.
    Also, I noticed that when users select the submit button the document is attached to an email & is removed from their screen.  If multiple submit buttons are a possibility, can the document continue to remain on the user's screen to allow them to finish & submit the remaining portions of the form?
    Thank you for any help you can offer.

    You cannot do what you want. To get that level, you are better off placing the form on a website (No worries about number of instances being used, extended rights limit you to 500 instances). With a properly written script the information from the pdf file can import the information from the fields and either sent to the appropriate people or inputted into a database which people can then query. You can restrict who sees what in the database. This is the best way to handle forms that have information that must be used by different people.

  • Modifying Portal URL to use Fully Qualified Domain Name

    Hi,
    We have a portal that I can access now by using the URL 'invsrvr001:50000/irj/portal'. We would need the URL to use the fully qualified domain name such as 'invsrvr001.company.com:50000/irj/portal'. Towards that end we added the profile paramter 'icm/host_name_full' with parameter value 'invsrvr001.company.com' and restarted the server. After the we tried to login to the portal using 'invsrvr001.company.com:50000/irj/portal' but the system displayed 'The page cannot be displayed' error.
    What else needs to be done so as to use the fully quailified domain name?
    Do I name to change the computer name from 'INVSRVR001' to 'INVSRVR001.COMPANY.COM'?
    Regards
    ND

    Ok, if you want to use FQDN including your domain extention (host.domain.com) you need to include your host into the domain.
    Also your PDC should be doing the time of DNS server so check that.    
    This should solve your issue, please close the thread.
    Regards
    Juan

  • Why does sendRedirect modify my url

    Hi,
    Why does sendRedirect change my url.
    If I'm on the page www.mywebsite.com/something.jsp
    and I use the response.sendRedirect("somethingElse.jsp").
    Now the url that I can see on the browser is mywebsite.com:72394/somethingElse.jsp
    What can I do to keep my nice url without the port number?
    Thanks
    Vinz The Worst.

    Thats because sendRedirect takes a full (absolute) URL as its parameter. Use request.getRequestURL() to get the original URL and construct the new one from that. You can also roll your URL from the getScheme(), getServerPort() etc. functions.
    Regards,
    Silvio Bierman

  • Submit URL to Servlet from javaBean

    I am trying to make a call to servlet through URL in my javabean and its not working out. calculateFedexRates class is working fine. If I call the same servlet from oracle PL/sQL package using util_http packge, it works just fine. But here in java bean I get error as follows:
    I just dont know what is wrong am I doing? Please help.
    Thanks.
    here is my java bean.
    ---------------------public class submiturltoservlet {
    public static void main(String[] args) {
                                    try {
                                    String data = URLEncoder.encode("ds", "UTF-8") + "=" + URLEncoder.encode("0", "UTF-8");
                                            data += "&" + URLEncoder.encode("weight", "UTF-8") + "=" + URLEncoder.encode("10.03", "UTF-8");
                                    data += "&" + URLEncoder.encode("fromState", "UTF-8") + "=" + URLEncoder.encode("IL", "UTF-8");
                                    data += "&" + URLEncoder.encode("fromZip", "UTF-8") + "=" + URLEncoder.encode("60133", "UTF-8");
                                    data += "&" + URLEncoder.encode("toState", "UTF-8") + "=" + URLEncoder.encode("IL", "UTF-8");
                                    data += "&" + URLEncoder.encode("toZip", "UTF-8") + "=" + URLEncoder.encode("60601", "UTF-8");
                                    data += "&" + URLEncoder.encode("shipDate", "UTF-8") + "=" + URLEncoder.encode("2009-02-05", "UTF-8");
                                    URL url = new URL("myurl/fedex/getFedexRates?weight=10.03&fromState=IL&fromZip=60133&toState=IL&toZip=60601&shipDate=2009-02-05");
                                    URLConnection conn = url.openConnection();
                                    conn.setDoOutput(true);
                                    ((HttpURLConnection)conn).setRequestMethod("GET");
                                    conn.setUseCaches(false);
                                    OutputStreamWriter wr = new OutputStreamWriter(conn.getOutputStream());
                                    wr.write(data);
                                    wr.flush();
                                   BufferedReader rd = new BufferedReader(new InputStreamReader(conn.getInputStream()));
                                   String line;
                                   while ((line = rd.readLine()) != null) {
                                        System.out.println("Response: " + line);
                                   wr.close();
                                   rd.close();
                                } catch (Exception e) {
                                    System.out.println("print out a stack trace and exit");
                                            e.printStackTrace();
            } // end of main
    }               // End of class
    here is my servlet.
    public class getFedexRates extends HttpServlet {
        public void init() {
        public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
           String weight = request.getParameter("weight");
               String fromState= request.getParameter("fromState");
               String fromZip= request.getParameter("fromZip");
               String toState= request.getParameter("toState");
               String toZip= request.getParameter("toZip");
               String shipDate= request.getParameter("shipDate");
               calculateFedexRates calculatefedrate = new calculateFedexRates();
            response.setContentType("text/plain");
            PrintWriter out = response.getWriter();
            out.println(calculatefedrate.calculate(weight,fromState,fromZip,toState,toZip, shipDate));
            out.close();
            out.flush();
            public void destroy() {
    Error I get :
    java.io.IOException: Server returned HTTP response code: 405 for URL: http://myurl/fedex/getFedexRates?weight=10.03&fromState=IL&fromZip=60133&toState=IL&toZip=60601&shipDate=2009-02-05
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:800)
            at submiturltoservlet.main(submiturltoservlet.java:34)

    HTTP status code 405 means "method not allowed". So the other side doesn't support GET or POST request.
    I am not sure what the request method is after all. The setDoOutput(true) triggers POST, but you're forcing it to GET afterwards. Why this? It look like that you rather want a GET, so leave the setDoOutput(true) away and that other line too. If it still returns a 405, then you should probably be using POST rather than GET. In this case use setDoOutput(true) and write the query string to the body of the request rather than in URL.

  • Controlling submit button manually

    Hi
    I have a button which is made as submit type and submit it as PDF and a url was given which is working as per the requirement.
    Now the new requirement is the Submit URL should get dynamically change based on the some value in the pdf, so can i control the url manually and also it should act like a submit button(like firing of validations etc).
    I tried xfa.event.target="url"; but that button doesn't act like submit button then after.
    Pls help.
    Thanks
    Abhiram

    You can modify the URL of the submit button through code. Of course you woudl do this before pressing it.
    The command woudl be
    submitButtonName.event_click.submit.target = "new URL "
    Paul

  • URL error while executing a web report in WAD

    Hi,
    When I execute a web report through the Web Application Designer, I get the following error:
    The requested URL could not be retrieved
    While trying to retrieve the URL: http://abcd.efghi.es:8000/sap/bw/BEx?
    The following error was encountered:
    Unable to determine IP address from host name for abcd.efghi.es
    The dnsserver returned:
    Name Error: The domain name does not exist.
    This means that:
    The cache was not able to resolve the hostname presented in the URL.
    Check if the address is correct.
    But when I execute the web report with  the IP  of the machine http://123.456.7.893:8000/sap/bw/BEx?...........
    I can  execute my web report correctly.
    I didn't find any options in the menu web template in order to modify the url generation.
    Please help me to solve this problem.
    Regards,
    Rocio

    You are not alone - Looks like SAP is also looking into this.
    Web Application Designer Appearing in Unicode (UTF-8)

  • BPEL - Handling invocation timeouts and Modifying Partner Link endpoints

    Hi,
    We've built the basic functionality that we need in our BPEL process but are facing 2 specific questions that we are a bit stuck with and would really appreciate some help on..
    1. Our BPEL process calls an external synchronous web service. We have a requirement that if this external web service is unable to respond to our BPEL process within a fixed timespan (say 1 minute), we need to treat this as a timeout and move on. Can anyone suggest what settings are required for this?
    2. The second query is with regards to a likely situation we will face after go-live. If the URL of the external service changes (lets say the service moves from one server to another), ideally we would want to be able to configure this URL change rather than have to modify the WSDL and rebuild the BPEL project in JDev with the new WSDL. Does the BPEL Admin Console provide any such feature? As far as I can recall from a project a couple of years ago, Websphere Process Server did provide such a feature and I'm looking for something similar here but have not found it yet. I am not looking to use dynamic endpoints within our flow - just for an admin feature that would allow me to modify the URL externally via the console.
    Would really appreciate any suggestions on these 2 points..
    Thanks and Regards,
    TB

    In response to your second query -
    a) you don't need to rebuild the BPEL project in Jdev in order to change the wsdl file. If you update the WSDL file with new values for your endpoint simply clear the WSDL cache and the process will pick up the new values in the new instances created from thereon.
    b) or if you dont' want to update the wsdl manually, you can write a piece of java code to change the endpoint URL's for the deployed BPEL processes using the code given here
    hth

Maybe you are looking for

  • How do I stop explorer from opening pop ups while browsing with firefox as default.

    I just bought a new hp laptop with windows 7. The first thing I did was install firefox 3.6.12 set as default, then thunderbird. When I visit a website I get pop ups that open in windows explorer. I installed pop-up stopper free edition, but it didn'

  • Reinstall my pc

    i reinstall my pc coz virus. so all file format. now i reinstall the i-tunes again,but it will lost all of my songs from my ipod. actually any way can save my songs? thanks!

  • What is "InputManager" and why has"Receipts" folder changed?

    1st Topic: Current MacWorld article (May , pg 16-17) tells about the Leap-A trojan horse. However, it refers to a user Library folder named "InputManager" ... no such on my system...I wonder why not? I never use iChat. Is the Virus connected only to

  • Colour Printing issue

    Hi all, Hope someone can help. We are running Indesign CS3 and have encountered a recurring problem when printing from our laserjet. We generally use indesign for assembling presentation docs. We are 3D designers rather than graphic designers so only

  • Glyphs alignment change while export file to epub-fixed layout

    Glyphs alignment should change while export file to epub, any solution for perfect export in fixed layout