WebUtil getting the URL of the current form

Hi after reading through the documentation on WebUtil I am not sure whether the utility will allow you to get the URL that is in the browser that the user is using to display the Oracle Form that it is running from. I need this as I have to issue web.show_document commands based on the users URL and need to know the URL to figure out which server they have come from in order to issue a web.show_document command with a URL that the user will be able to read. Does anyone know if this is possible or other ways of achieving the same result
Also has anyone got an unsupported version of WebUtil for Forms 6i as I am currently on AIX 4.3.3 and need to get our Unix teams to upgrade to AIX 5 before I can even start to think about Forms9i/10g and Oracle 9i/10g
regards,
[email protected]

Mark,
wweb.show_document() can take relative Web addresses too, which means that automatically the server that the Forms was downloaded from will be referref by the URL. Assuming
http://myserv1:9999/forms90/f90servlet...
is the address you started Forms Services on,
web.show_document('/mydir/mytest.html','_blank');
requets for a URL
http://myserv1:9999/mydir/mytest.html
So in fact you don't need to know of the URL.
WebUtil does not provide this functionality, but it would be easy to add. So let me know if my suggestion using web.show_document() doesn't work as you want it and I'll add this as an ER for WebUtil.
Fran

Similar Messages

  • How to find out the current form name

    Hi all,
    I have to pass the current sapcript form name in the sauroutine pool for some further processing.
    I just wanted to is there any variable, method, or way to find out the current/running Sapscript form name generically so that we can pass it on to subpool.
    Looking forward for your reply.
    Regards,
    Anuja.

    Hi All,
    Many thnaks for your replies.
    Actually in my case the situation is, i have to change in multiple forms.
    I mean the same perform needs to be used in all the forms almost around 20 using the current form name.
    So that perform should be generic. I mean is there any variable/ method or way to get the current form name so that we can pass that to the subroutine pool through form.
    Looking forward for yoour reply.
    Regards,
    Anuja.

  • Get the url address of current form

    Hi,
    Any one knows how to get the url address of the current form ?
    Thanks.
    Ivan

    You can probably use Java Script at in the html which starts the form then pass the value into the form using a user define Form's parameter.

  • How to get the current page URL

    HI All
    I am working in oracle apps 4.0
    I have one page called history in that i have one page item called Application url. My application id is 122 but its a copy of application 106
    How to get the current page url for the page item.
    Any steps should be help ful
    Thanks & Regards
    Srikkanth.M

    I'm not 100% clear on what the requirement is from the description, however it does sound like you are making things unnecessarily complicated.
    If you want permanent/ID-independent links then use application and page aliases.
    so here we used to display the url like this: <tt>{noformat}http://81.131.254.171:8080/apex/f?p=122{noformat}</tt>
    Do you mean that the URL is displayed like that? If so that doesn't seem particularly helpful. How is anyone supposed to know what it is?
    There are many ways to provide links in APEX&mdash;including lists and nav bars.
    Where the link is to another resource located on the same server (such as another page in the same app, or a different app in the workspace), relative addressing can be used, making it unecessary to include scheme, domain and port information in the URL. For example, if the page to be linked to has a page alias <tt>ABOUT</tt> in an application with alias <tt>UNITY</tt>, and the apps share an authentication scheme/cookie to permit shared sessions, then the link URL is simply
    f?p=UNITY:ABOUT:&APP_SESSION.

  • Get the current line no.(similar to sy-linno in report) in  Sapscript form

    Hi everyone,
    In ABAP reporting, you can use sy-linno to determine the current line no.
    But if in sapscript form,
    does any system field to get the currect line no. or y-origin. ?
    Just say the program is now runing and have written several lines in a window of the form.
    AS         This is the first line
    AS         This is the second line
    AS         This is the third line
    how to get the current line = 3 or  yorigin '+3'  LN?
    Thanks for reply in advance.

    Hi,
    you can also chk the sy-linno directly in your script.
    Regards
    Subramanian

  • How can get the console window name of the current form?

    How can get the console window name of the current form?

    Try the various get methods of the viewObject such as getQuery:
    http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtAnchor.getQuery%28%29/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7CViewObject%7Ehtml/

  • Getting the current path from which the form is runnig in 9i OAS

    Hi,
    We are using the built in Get_Application_property to get the
    current path in which the form is running. However this does not
    work in 9ioas and it only returns the form name and not the full
    path. Does anyone have any solutions to this problem?
    Thanks in Advance
    Jeet

    Place it in the classpath, then you can use ClassLoader#getResource().

  • How to get the current date ? in the form of dd/mm/yyyy?

    Hi all,
    As getDate( ), getMonth( ), and getYear( ) is depricated, how to get the current date or System date, month and year ? please help ??
    Regards
    Ashvini

    HI,
    Than u for the reply. But i am getting one error.
    as u said, I tried to do so.........
    but, i am getting one error.
    code
    Calendar cald=(Calendar.getInstance.getTime());
    out.println(cald);
    error message
    validate$jsp.java:86: Attempt to reference method getInstance in class java.util.Calendar as an instance variable.
    Calendar cald=(Calendar.getInstance.getTime());
    ^
    1 error
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:284)
    Pls help
    Regards,
    Ashvini

  • InfoPath 2010 - How to connect to another content type form from the current form with a click of a button?

    I have two different form library forms for each different content type published to the same Form Library.  I like to know if by a click of a button, if I could close the current form and jump to the next and vice versa? If so, what steps
    would I need to take using OOB technology?
    Thank you,
    SRAEngineer

    Hi Guru:
    Thanks.  However, the Views do not work in my case, as one form has different required fields than the other and set of fields also changes a bit for each form.
    However, researching more I have been able to find the solution since I posted this request.
    I will try to describe the Solution:
    First I deployed both the forms to a SharePoint Form Library. Then I opened the template from the advanced settings and copied the URL from the top search box of IE.
    Went back to the design view of the form, highlighted the writings/title of the form and right clicked to paste the hyperlink.
    Quick published it again and now the hyperlink is working active/live in the deployed form as well and doing its job to get to the next form. I repeated the process to the other form to do a toggle.
    Thank you for your input though.
    Regards,
    SRA
    SRAEngineer

  • How to get the current GMT time in java

    Hi,
    How to get the current GMT time in java
    Thanks

    System.getCurrentTimeMillis() or new Date().
    [url http://www.javaworld.com/jw-12-2000/jw-1229-dates.html]Calculating Java dates: Take the time to learn how to create and use dates
    [url http://www.javaalmanac.com/egs/java.text/FormatDate.html]Formatting a Date Using a Custom Format

  • Get the Current Quarter  and Current Week from date

    Hi,
    I want to get the Current quarter and Current week from a given date, which function modules should i use?
    I tried using function module - 'HR_99S_GET_QUARTER' for getting the quarter but it is throwing an error while loading data. Moreover it doesnt exist in BI7.
    Similarly for current week.
    Please help. Sample code snippets would be appreciated.
    Thanks
    Jaya

    You can use FORM time_conversion wich is the one used by standard in Update Rules:
    You can select whether convert 0CALDAY to 0CALWEEK or whatever infobject formats you prefer...
      perform time_conversion
                using  '0CALDAY'
                       '0CALMONTH'
                        p_input_date
                        l_fscvtval
                changing RESULT
                         c_t_idocstate
                         c_subrc
                         c_abort.
      if c_subrc <> 0 or c_abort <> 0.
        exit.
      endif.
    form time_conversion
                   using i_timnm_from type rsiobjnm
                         i_timnm_to   type rsiobjnm
                         i_timvl
                         i_fiscvarnt  type t009b-periv
                   changing e_timvl
                            c_t_idocstate  type rsarr_t_idocstate
                            c_subrc   like sy-subrc
                            c_abort   like sy-subrc. "#EC *
    data: l_timvl  type rsd_chavl,
          l_result type rsd_chavl.
      IF i_timvl CO ' 0'.
        CLEAR e_timvl.
        EXIT.
      ENDIF.
      l_timvl = i_timvl.
      CALL FUNCTION 'RST_TOBJ_TO_DERIVED_TOBJ'
        EXPORTING
          i_timnm_from             = i_timnm_from
          i_timnm_to               = i_timnm_to
          i_timvl                  = l_timvl
          I_FISCVARNT              = i_fiscvarnt
          I_BUFFER                 = rs_c_true
        IMPORTING
          E_TIMVL                  = l_result
        EXCEPTIONS
          INCOMPATIBLE_TOBJS       = 1
          NO_INPUT_VALUE           = 2
          FISCVARNT_MISSING        = 3
          INPUT_NOT_NUMERIC        = 4
          WRONG_DATE               = 5
          WRONG_FISCPER            = 6
          X_MESSAGE                = 7
          OTHERS                   = 8
      e_timvl = l_result.
    ENDFORM.                  "TIME_CONVERSION

  • Get the current context of the site where web-part is added in the same site collection

    Hi,
    I'm creating a visual web-part in SharePoint 2013 using server object model (can't user COM as the code will run on the same server) to get all the members of "Members" group of the site/web wherever this web-part
    will be added (in the same site-collection), so it will take the context of the site wherever it is added.
    For Eg: I have a site collection "http://<Server_name>/sites/Finance" OR "http://<Server_name>/sites/Finance/Microsoft" OR some other subsite. I have used SPContext.Current property to get the current context
    , but no success :( . 
    I tried in SPSite: SPContext.Current.Site ; new SPSite(SPContext.Current.Web.URL) and many other combinations with SPSite.
    in SPWeb : site.openweb()
    But I'm always getting the URL as "http://<Server_name>/" and not the context where the web-part is added in the same site collection.
    Vipul Jain

    Hi Bjoern,
    Thanks for the reply. I'm able to get the access of members group through API's. Just wanted to know about the context in SPSite & SPWeb. As you suggested , is there no need to use SPSite ?
    using (SPWeb web = SPContext.Current.Web)
                            SPGroup membersGroup = web.Groups[web.Name + " Members"];                     
                            SPUserCollection lstMembers = web.Groups[web.Name + " Members"].Users;
                            foreach (SPUser member in lstMembers)
                                // add all the group users to the list                            
                                users.Add(member.Name);
    It's not working 
    Vipul Jain

  • Getting the current row in a datatable

    Hi,
    I am using datatable. How do I get the current row in the datatable
    and use it for my processing in the JSP page
    or I want to just output that value with out using any jsf tags.
    Examples
    <h:dataTable styleClass="dataTable" id="table1" border="0"                    value="#{myTrainingHandler.myMediaTraining}" var="dataIt">
    <h:column id="column1">
    <f:facet name="header">
    <h:outputText styleClass="outputText" value="Course Name"id="text1"></h:outputText>
    </f:facet>
    <!---------------------------------------------- how do I get the value of #{dataIt.name} and use it in the JSP way
    Reason: I just want to output the value. If I am using h:outputText then it inserts <span>... </span>
    or, I want to transfer that value to another another attribute in the session or something like that.
    ---------------------!>
    <h:outputText styleClass="outputText" id="text2" value="#{dataIt.name}"></h:outputText>
    </h:column>
    </h:dataTable>
    -Aswath

    It looks like good idea!Unfortunately this is just workaround. Indeed your
    suggestion is real JSF-feeling solution but due to the
    bug (or rather pure design of RI implementation???) it
    is dangerous.
    I had some doubt about is it bug or my incompetence.
    Unfortunately this seems is really bug.
    Hope this problem will be solved in the next releases.from blueprints catalog:
    Component bindings (e.g. <h:inputText binding="#{MyBean.lastNameComponent}" />) should always be stored in request scope since their value is no longer valid after a request has been processed anyway. The component tree is reconstituted during each incoming request, changing the physical instances these component bindings will point to.
    as you see there is really problem in using session backing bean with component binding
    so that means idea with parameter looks better now because we don't need to use table binding.
    Or probably we can define some kind of pattern like couple of beans with request scope and session scope.
    for example:
    Catalog - session scope
    CatalogView - request scope
    Catalog will keep session data and CatalogView will provide some presentation logic (including some stricly visual oriented data) and access to business methods of Catalog class.
    I will send you example by e-mail (on friday) if you not mind.
    >
    Thank you for your suggestion!
    Probably I will use your idea in my application.
    By the way I'm from Kiev also.Hello from Kiev :-)
    I have one suggestion.
    I'm working on JSF form that suppose to add, editand
    delete records from table.
    Also I wanna to use scrolling by page and sorting.
    I'm trying to make this form somehow clean and
    universal as much as possible.Seems I have same tasks for now.Great! I will send some code soon.
    And maybe we can discuss every aspect how to do good JSF based application including config oriented information and utilities classes.
    -how do you work with tables without primary keyI dont' have tables without primary key :)
    -how do you make pagination by universal wayWe need just make good component for that.
    We already started in this direction.

  • When I try to animate Nexrad radar on weatherunderground ..I get yesterdays radar and no animation. On Internet Explorer I get the current radar and animation.

    When I try to animate Nexrad radar on weatherunderground ..I get yesterdays radar and no animation. On Internet Explorer I get the current radar and animation.
    == URL of affected sites ==
    http://www.wunderground.com/radar/mixedcomposite.asp?region=b3&size=2x&type=loop

    You can try Firefox Safe Mode to see if one or more of your add-ons might be causing the problem. Also clearing the cookies for the site might help. The site loaded with current date and animation on my system.
    <u>'''Cookies'''</u>
    See:
    http://support.mozilla.com/en-US/kb/Deleting+cookies#Delete_cookies_for_a_single_site
    http://support.mozilla.com/en-US/kb/Cookies
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox Safe Mode is a diagnostic mode that disables Extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes <u>'''before'''</u> starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your Extensions and Plug-ins and then try to find which is causing it by enabling <u>'''one at a time'''</u> until the problem reappears. <u>'''You MUST close and restart Firefox after EACH change'''</u> via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.

  • To get the Current Application ID

    Hello,
    Is there any standard function to get the current application id ?
    Thanks
    Geetha

    If the form is built using template.fmb, that should be automatically taken care of I will be surprised if that is not). If that is not the case and if you launching the form using either custom.pll or personalization, can you read the form function where it is called from (most probably in the parameters) and get its application from fnd_form_functions.
    Thanks
    Nagamohan

  • How to get the current Date

    With the following piece of code, I am able to get the current date in bpe forms, but not when I put it in any of the forms logged in using end user(not even in end user menu).
    <Field name='request.submitDate'>
    <Display class='Label'>
    <Property name='value'>
    <invoke name='dateToString' class='com.waveset.util.Util'>
    <ref>java.util.Date</ref>
    </invoke>
    </Property>
    </Display>
    </Field>
    The following error is getting displayed in the end user menu form.
    XPRESS exception:
    Can't call method dateToString on class com.waveset.util.Util ==> java.lang.NullPointerException: -------can anyone please help me out
    or can anyone suggest a way for getting the current date
    Regards
    Gajendra Nagapurkar

    The <ref> tag is used to refer to the value of some variable. The value of the variable java.util.Date in your example is NULL, because it doesn't exist!
    If you remove that argument from your <invoke>, the call resolves to the method com.waveset.util.Util.dateToString() and will return something like "20050810 11:00:21".

Maybe you are looking for

  • How do i transfer my data from my old ipad to my new mac

    how do i

  • Where is Search window in Acrobat 8?

    I just moved to Acrobat Pro 8 from 7 and I no longer see the docked search pane when I do a keyword search. I have read in the forums about a floating search window, but I don't see that either. When I do a search, I click Find at the top. The only w

  • Full Motion Capture Options

    I'm currently trying to create help files for Flash animations using captivate instead of screen recording software dude to file size, with the type of animation I have to activate Full Motion Capture Recording. the problem I get is the file size for

  • Transaction code for searching workflow id's

    Hi Experts, I am new to the work flow.  I am have one issue in workflow. i know the employee USERID. I want to find out workflow ID's of this employee. Please tell me how can i search all workflow id's . Is there any Transaction code. Thank you Sri

  • Whastapp picture viewer

    I have a Q10 and any time I am inside a contact in whastapp and try to look at the pictures shared with them I can't look at the next or previous picture, any suggestion? This is very annoying.