Pass Username to HTML Page Viewer

Is there a way to get the current username passed to an HTML page viewer in SharePoint? Or is there a better way to do that? I have an aspx page I need to pass the username to.

Hi,
According to your post, my understanding is that you want to send the username from SharePoint to the webpage.
We can use JavaScript Client Object Model to get the current username and through the URL to send the value.
The following thread for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/a425f091-85df-4e99-9f8b-ee474c21ac2e/pass-username-in-url?forum=sharepointgeneralprevious
Best Regards
Dennis Guo
TechNet Community Support

Similar Messages

  • Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag?

    Using WEB Output HTML Gallery and uploading using ftp upload the HTML page views correctly but images only display the alt tag in the browser window?

    After a little investigation, I discovered that PNGs also do not render correctly in IE7 in similar circumstances.
    I ended up using Levels in Photoshop to bring the output blacks up to "5", saved the images as PNGs, modified the HTML from .jpg to .png, and that seems to have covered up the problem well enough.
    By the way, I did confirm that IE8 beta 2 renders the images correctly.
    Brian

  • Select entities in a swf file and pass back to html page

    Hi,
    I am new to flash. I got a dwg file converted into swf file. Now I want this swf file to embed in html page. No issue with that.
    The tricky part for me is to let the user select the entites of the file such as line/circle as one might select in autocad. After entity selection the swf file (by any means) pass the  selected entity information back to the html page ( to the javascript function).
    Is this feasible?
    I have no clue Please give direction.

    Thanks Tim.
    I could solve the problem using javascript.
    I have used the following javascript.
    <script>
    function test(){
    var radioLength = document.wwv_flow.p_v01.length;
    var retVal = '';
    if(radioLength == undefined)
              if(document.wwv_flow.p_v01.checked)
                   retVal = document.wwv_flow.p_v01.value;
              else
                   return "";
         for(var i = 0; i < radioLength; i++) {
              if(document.wwv_flow.p_v01.checked) {
                   retVal = retVal + ';' +document.wwv_flow.p_v01[i].value;
    retVal = retVal.substring(1, retVal.length);
    opener.document.getElementById('P1_TEST').value = retVal;
    window.close();
    </script>
    Now the problem is solved!!
    Thanks,
    Archana

  • Can we pass arguments within HTML pages

    can we send some arguments among the HTML pages.
    eg: say if I have a form in one.html whose action is
    two.html?txtText=evil&txttext2=actuallywon
    if the same page was requested to a JSP page I could have retrived through request.getParameter("");
    But i dont know to do it in the HTML pages
    My concern is that the requested page two.html should get the values
    thanks

    You'll need to use JavaScript in your receiving HTML page (two.html) as documented in the blog entry [Get URL Parameters Using JavaScript|http://www.netlobo.com/url_query_string_javascript.html].

  • Pass Username into a Page Parameter

    Hi, I've got a discoverer portlet on my portal page that is pointed to a worksheet that accepts a parameter. I've created a page parameter on my portal page and I attempt to set its default value to wwctx_api.get_user...however, I can't get it to work. Help please.

    Hi Kranthi.
    1. Assuming you are with Plus you can make the parameters optional in the parameters screen (tools -> parameters)
    so that if they get NULL as value they will return all data.
    2. the second way is if you like to keep it mandatory is to define a default value for the parameter and then take care of the situation in the condition.
    for example you'll define the 1-Jan-1900 as your default date for the from_date.
    Then in the condition change if you'll define it just as from_date > :P_from_date then you got what you wanted.
    BTW In similar situations when you are dealing with varchar you can do a manipulation such as:
    from_date > :P_from_date
    Or
    :P_from_date = '1-Jan-1900'
    Tamir

  • How to upload a HTML page with Flash image viewer?

    I´ve got a html page with a flash image viewer file inn it. Preview in a browser is ok, but I don´t get it right on the server. Is it something spesial with the swf file?
    This is what i have done: I just upload html -page, viewer swf file and the pictures to the same folder. Is this wrong?
    Sorry, I really don´t have a clue... Thanks!

    Sorry to say, but that is not a webpage -
    There is no doctype, no head section, no body section .
    etc. etc.
    Nothing would work in that document.
    Please generate a properly formed HTML page, and place the scripts and script calls in the proper section and the rest in the body, and let's see what you get

  • Webi Page View Not Displaying Page Size Correctly.

    Hi Everone,
    I have an issue with one report where the page size sttings do not translate when viewed in HTML Page View.
    Figure one is the report as seen in the editor - as you can see the page is displayed correctly - A4 Portrait:
    And, when the report is viewed in PDF mode - again, no issues:
    But when viewed in HTML page view - it blows out the width of the page:
    Now this report, as far as I can tell, is set up no differently than 6 others that are designed to be printed as PDF, all of which do not display this behaviour.
    We design them to be printed as PDF but present them to the user in HTML Page view in order to allow injected JavaScript’s in the report to be run. This does not happen when you jump directly into PDF mode.
    I have checked in design view and I don't have any wayward report elements pushing out the width and the PDF renders correctly which would not happen if there were hidden elements causing issues, it would render a bunch of blank pages.
    So, I am at a loss. The page view is correct in edit mode and in PDV view mode but not in HTML page view. Has anyone else had this issue? I can’t work out why this happens only in one report when all the others work properly.
    HELP!!!
    - Nick

    Hi,
    I think it may be <div class="html5gallery-viral-0"> (contains the social media buttons) // screencasteu.worldsecuresystems.com/AP/2013-08-01_1033.png
    It's the only element that isn't in sync with the other elements on page, when compared to home.html for example.
    Kind Regards,
    Alex Pavelescu

  • Load HTML pages to iPhone for Safari access.

    I have confidential contact information in the form of HTML pages I would like to down load to my iPhone and access with Safari. Is this possible?

    I'm not sure what your question is. You have 3000 static
    pages. Why would
    templates make any difference at all?
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Paul206" <[email protected]> wrote in
    message
    news:e679cl$8tm$[email protected]..
    > This is one of *those* questions -- I've seen it done,
    but my resource is
    > no
    > longer available to tell me how.
    >
    > I have a site built with a single DWT template page,
    uniquely named
    > editable
    > regions. Now that the page count has passed 3,000 HTML
    pages, the
    > decision was
    > made to move the content into a PHP database (for
    improved searchability
    > and
    > management ease, mostly).
    >
    > The quandry is HOW to go about grabbing those files and
    dumping them into
    > a
    > format I can manipulate to load into the half-baked
    Yahoo! MySQL database.
    > (Y'know, the one without an "Import" option, hence
    having to write SQL to
    > load
    > these in groups.)
    >
    > I'm not too fussy about format -- CSV, Excel, something
    that can be
    > manipulated without the copy-and-paste the junior web
    monkey brat insists
    > is
    > the ONLY way. And I enjoy showing the punk up every so
    often, but am not
    > finding the answer in da book or in my Googlin'
    wanderings. (I did see
    > the
    > option to export the site into XML, which beats nothin',
    but was hoping
    > for
    > something without too many middle steps to get into an
    Excel-like file
    > format).
    >
    > Thanks in advnace!
    >

  • Passing parameters in a html page using xwd_tmppg.create

    We are in the initial stage of Developing a OLAP Web Application using
    Oracle Express Web Agent 6.3.2,Oracle Express Administrator6.3.2.
    Flow of our screens are:-
    We have a login screen that authenticates user entry to access his assigned role screen.Based on the role the user selects we will be listing out the analysis in a screen that the user could access.
    Express Programs are used to create Role and Analysis screen.
    User logged information is passed from login to role screen and to
    analysis screen using XWD_APPPG.CREATE that accepts parameters.
    Moreover this function can only be used to create html page with out
    data views.
    Now let us come to our problem-
    We need to take the user from analysis screen to detailed data view screen that shows the OLAP cube with a back & exit button.As explained earlier you need to use the function XWD_TMPPG.CREATE to create dataview.It is not possible to pass parameters through this function.This function accepts .html as the only parameter.But we need to pass the userid info to get back to analysis screen for the user to select the next analysis.I need the user logged info available in the template file.
    Is there any solution for this problem or any other approach to capture the user logged info in the template file???

    Hi Aneel,
    Thanks for your informative suggestion on how to receive data from
    previous page on to the template page using LOCATION.SEARCH.SUBSTRING
    function.
    I could very successfully get the userid information by implementing
    this method within the SCRIPT boundary.
    I also want to pass this value to a express program embedded
    within the <!--EXPRESS call foot(userid)--> so that it will enable the
    user to go back to List of analysis page.her my footer program will
    inturn call the Analysis Page with the userid information.That's my
    whole idea.
    I tried the following methods to acieve my end result-
    1)Tried to store the value in a local variable in the template & passed
    it to the express program -- Error thrown was "userid is not attached in
    the database"
    2)Directly specifed location.search.sunstring in the express program..
    Still the same error was thrown
    3)Thought of storing the value in the name of hidden object .Still this
    will not work out because i need to declare the object in the FORM..
    Moreover the value is avialable wihin the JAVA SCRIPT range.Out of this
    range template is not able to identify this value.
    Any idea Aneel form your end.
    Can you let me know how to use hidden object in achieving the result.
    I have been working very hard for quite sometime.
    Advance thanks.
    Nanda Kishore

  • ER for topic: IR, safe/keep the view of the export HTML page like the IR is

    Hello Dev-Team,
    As Tobias has recommended I would like to ask you to open an ER for this case:
    I would like to save (download) a somehow aggregated (controll group) IR as HTML to hand over it to a customer.
    Is there any way to safe/keep the view of the export HTML page like the IR layout is?
    Thank you in advance.
    Andre
    see: IR, safe/keep the view of the export HTML  page like the IR layout is?

    Tobias Arnhold wrote:
    You could create an enhancement request: http://apexblogs.info/pls/apex/f?p=118:28
    Do APEX Dev team look here for enhancement requests? Or just Dimitri passes on information..
    Ta,
    Trent

  • A tree-view in HTML page with nodes generated with java script in run time is not visible in the UI Automation Tree. Need Help

    I have a HTML page with an IFrame. Inside the Iframe there is a table with a tree view
    <iframe>
    <table>
    <tr>
    <td>
    <treeview id="tv1"></treeview>
    </td>
    </tr>
    </table>
    </iframe>
    In UIA, i am able to traverse till the tree view but not able to see it.
    I have used the TreeWalker.RawViewWalker Field to traverse the node from the desktop Automation.RootElement. 
    I tried to use AutomationElement.FromPoint method to check whether i am able to get that element. Fortunately i was able to get the automation element. 
    i tried to get the path to root element from the node element using the TreeWalker.RawViewWalker. I was able to get the parent path to the root element.
    But trying the reverse way like navigating from root element to tree node, was not getting the element for me. 
    Please help me with suggestions or inputs to resolve this issue. 

    Thanks Bernard,
    It works fine with JInitiator but not working with
    the JPI. For JPI what settings I need to do ??hi TKARIM and Bernard, i am having similar problem even with the Bernard's recommended setup. could you post the webutiljini.htm (i presume you are using config=test) ?
    i am actually using jinitiator 1.3.1.28 with Oracle HTTP Server of OAS 10gR2) calling Forms Server 6i (f60cgi). After setting up according to Bernard's recommended setup steps, the java console showed that it loaded the icon jar file when it could not read the form, but it skipped the loading of the icon jar file once it read and started the form. How do we specify in the form to pick up the icon from the jar file instead from a directory ? Or do we need to specify ? Any ideas ?
    Thx and Regards
    dkklau

  • How do I pass input values from a html page to a jsf page

    hi,
    In my project,for front view we have used html pages.how can I get input values from that html page into my jsf page.for back end purpose we have used EJB3.0
    how can I write jsf managed bean for accessing these entities.we have used session facade design pattern and the IDE is netbeans5.5.
    pls,help me,very urgent
    thanx in advance

    Simplest way is to rewrite html page into jsf page.
    You can use session bean in your managed bean like this:
    import javax.naming.Context;
    import javax.naming.InitialContext;
    public class ManagedBean {
    private Context  ctx;
    private Object res;
    // session bean interface
    private Service service;
              public ManagedBean() {
                try{
                     ctx = new InitialContext();
                     res = ctx.lookup("Service");
                     service = (Service) res;
               catch(Exeption e){
    }Message was edited by:
    m00dy

  • How to Pass the data from the class to the BSP application(ie. .html page)

    hi
    i had created one .html page. This page is getting opened after clicking on one of the buttton of the toolbar(say Bank Data).
    Now the problem is , to show the data of the bank which user had entered in the PCUI application on the .html page.
    Please help me to solve the problem

    Thanks for your answer, I tried the solution 2, I create "Submit" button, and ser the mapping scope to  be "All data rows", it only works when I select at least one row, otherwise the data would not be passed.
    Another question is I have serveral imported table parameter, for each table I have one "submit" event, I want these tables to be submitted at the same time, but if I click the submit button in one table toolbar, I can only submit the table data which has a submit button clicked, for other tables, the data is not passed, how can I achieve it?
    Thanks.

  • Pass values to OAF search page (View Purchase Order History)

    I need to call a OAF page from a PO Approval Notification. I need to call page View Purchase Order History (func:ICX_PO_REVISIONS).
    I am able to create the URL (using function FND_RUN_FUNCTION.get_run_function_url) and when I click on the link it opens the page fine, but it’s a page that contains simple search region and I need to populate the Operating Unit and PO Number fields (I can easily get from the PO) of the search fields, this will allow the user to just click the go button.
    Is it possible using the function FND_RUN_FUNCTION.get_run_function_url and passing parameters (field values) or setting the URL to JSP:/OA_HTML/OA.jsp?OAFunc=ICX_PO_REVISIONS&akRegionApplicationId=177&addBreadCrumb=Y&CorePO=Y and then passing the parameters?
    How would you achieve this if possible, call the page and populate the search field values? It does not seem to work, I have been able to pass paramaters to an OAF page that does not contain a simple search region to return results.
    Function paramaters:
    FND_RUN_FUNCTION.get_run_function_url (
    p_function_id => 3101,
    p_resp_appl_id => 201,
    p_resp_id => 50598, -- MS Purcahsing Superuser
    p_security_group_id => 0,
    p_parameters => 'PoNum=' || l_document_id || '&' || 'retainAM=Y' || '&' || 'addBreadCrumb=Y',
    p_override_agent => NULL,
    p_org_id => 101,
    p_lang_code => NULL,
    p_encryptParameters => FALSE);
    Thanks,
    Shaun

    What I found is there are 2 variables SiteName and SiteName1, if you use SiteName1 then it shows proper value as a site description. I replaced SiteName with SiteName1 and it works. This might help to all who are like me and trying Tutorial example.
    I am not sure how many may have tried OAF - Tutorial examples. They are really complicated and not easy and in most cases they are not coming out in first try but if you really try then it will give lot of understanding.

  • Passing Parameter to report (html) from html page

    Hi
    I have a html page use web application server as tool, this page
    link to report, I want to pass the parameter to report
    paramform.
    This is my PL/SQL
    procedure eqp_form(ceqp in out mms_eqp_master.eqp_code%type) is
    htp.tableData(htf.anchor(report.print('msr_eqp_group'),'<font
    color=ffffff>Eqp Group
    Report</font>',cAttributes=>'target=target_blank'));
    How can I do to pass 'ceqp' into report parameter form, before
    running report?

    <p>In the scenario you described the report that connects to the stored procedure will automatically require parameters so they can be passed to the stored procedure.</p><p>Here is a link to a sample that passes a parameter to a report at runtime using BusinessObjects Enterprise XI R2:</p><p>http://diamond.businessobjects.com/node/1018 </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

Maybe you are looking for