Need to reference user PKID for frmPrint page inside the PLM_HOME\web\gsm\Print

Dear all,

We need to send the USER-PKID via the button "print" inside the PLM_HOME\web\gsm\Print\frmPrint.aspx, I'm trying to implement using the same suggestion inside this URL https://forums.oracle.com/message/11059357#11059357

So I understand four under the namespace in the page of frmPrint.aspx side.

< % @ import namespace="Xeno.Web.UI.Common.Utils"% >
< % @ import Namespace = "Xeno.Prodika.Application" % > "
< % @ import Namespace = "Xeno.Prodika.Services" % > "
< % @ import Namespace = "Xeno.Prodika.Common" % > "

Adding javascript to reteriving user PKID system, with outside of the header section.

< script language = "javascript" >

function GetUserPKID()
{
return ' < % = ((IUserService) AppPlatformHelper.ApplicationManager.ServiceManager [typeof (IUserService).). FullName]). UserContext.User.PKID% > ';
}

< /script >


and then, we'll use it below inside the frmprint.aspx to open the new URL with UserPKID has been attached.

newwindow = window.open ('http://vsvr-plmdev02.cpf.co.th/ICERPT/frmPrint.aspx?pkid= ' + SpecID +' & rpt = rptPackMatCoverSheet_Print & param = ' + Spec_id_list +' & UserID ='+ GetUserPKID(,),' height = 400 width = 200' ');

But after restarting IIS, I found the error message as below

BC30108: "IUserService' is a type and cannot be used as an expression.

Can someone please help?

Thakhor Srichantra

Please use below to get the userID because it must use the VB GSM syntax:

return ' < %="DirectCast(AppPlatformHelper.ApplicationManager.ServiceManager(GetType(IUserService)." (fullname),="" iuserservice).="" usercontext.user.pkid%=""> '; "

Tags: Oracle Applications

Similar Questions

  • My computer crashed and after the purchase of another, I used the Migration Wizard to copy all the files to the new computer.  Everything was going well until I tried to launch LR6.  It was two weeks ago and a search for many pages of the Adobe Web site. 

    My computer crashed and after the purchase of another, I used the Migration Wizard to copy all the files to the new computer.  Everything was going well until I tried to launch LR6.  It was two weeks ago and a search for many pages of the Adobe Web site.  I think I've exhausted all the remedies listed without success codes error A12E5 to questions cloud creative, Manager of Application and error 1: Configuration problems.  I'm ready to reformat my computer and try again with Time Machine.  Help would be greatly appreciated before I waste more time on this task. Any further suggestions?

    Migration of Mac with Time Machine WILL NOT WORK with the Adobe program activations due to hidden registration files

    Sign out of your account... Uninstall... to run vacuuming...

    -non-Cloud programs, to disable the service before uninstalling

    -http://helpx.adobe.com/creative-cloud/help/install-apps.html (and uninstall)

    -using the vacuuming after uninstalling and before reinstalling is often necessary

    -https://helpx.adobe.com/creative-suite/kb/cs5-cleaner-tool-installation-problems.html

    -Restart your computer... Sign in to your account... Reinstall

  • LR 4 prints only a blank page on the Epson 2880. Print preview panes remain blank. Window 7 OS. Desperately need help!

    LR 4 prints only a blank page on the Epson 2880. Print preview panes remain blank. Window 7 OS. Desperately need help!

    Bob

    I did uninstall another and got rid of the Preferences file. Voila! This works. I'm not crazy about not understanding why, but he works at a time when he really needs to work.

    Thanks again for your kind attention.

    Merry Christmas.

    David

  • WRT54GX4 - difficulties to access the configuration Page of the router Web-based

    WRT54GX4 - difficulties to access the configuration Page of the router Web-based.

    I have tried all posted to forums and knowledge for several weeks now with no luck.  I can feed the router to push and access the router's web-based interface, but only for a few minutes that she was leaving the loading to half way through and or does not load.  If I turn on the wireless side I can access the router at will without any problem. My warranty is almost over. I'm at my wits end. I would like to replace it under warranty if I can. (^ 8.

    Update: I fell up on top of the fix for my problem. After many reconfigurations over the past two months I've tried turn on all newspapers. Since the age of the newspaper I did have a problem of access to my router.

  • Muse in iframe page inside the iframe links

    HI - hope someone can help me.

    I have created a web page in Muse and uses an iframe to display on the home page of an existing Web site.  Below in the big blue box, you can see the iframe to display.  Note the blue area around one of the links:

    link1.jpg

    When you click this link, here's what happens:

    link2.jpg

    The page inside the iframe, which I don't want to happen.  I'm back in Muse and selected the "open in a new window" for links, who comes here to open links in a separate tab or a new window, which will not work.

    Can someone help me understand how to open links in the same parent window, but not inside the iframe?  I have to change the Muse exported HTML page to make it work?  I could put something inside the HEAD, on the Muse page before exporting?  Any help is appreciated.

    Thank you.

    Hi - I found the solution.  Add this to the head in the properties of the page and it works:

  • Need to display a field for each page

    Hi all.
    I'm trying to display a field <? job_no? > for each page of this work.
    I mean if I select job is between 1 and 10. for the number of Job 1, the data can be printed in one or more pages.
    But I need to show this job number (that you see with barcode fonts) in all the pages of this work.
    This work is under Group G_JOB. In general, I used as below
    <? for-each: G_JOB? >
    <? job_no? >
    < ?... ? >
    < ?... ? >
    < ?... ? >
    < ?... ? >
    < ?... ? >
    <? end foreach? >
    It's getting printed on the first page only. If I put it in the header of RTF file, it's ok, if I have chosen the number one job. But if I select for a number n of jobs is not posting.
    Help, please.
    Thanks Vasa.

    Vasa,

    Try this:

    
    
    
    
    
    

    The ' start: body "did everything that precedes a page header.

    Kurz

    Published by: Kurzweil4 on February 7, 2011 13:15

    added @section. This will reset the header for each job area.

  • Change the background image for each page of the site.

    I would like that the bottom of several pages with the difference that the bottom of my home page. How to do this using CSS?

    I also have a div on each page to have a background of differnet by page. How can I do this without replacing the main CSS?

    I'm new to this, so I apologize if this is a silly question.

    Thank you!

    Let's say you have 5 pages requiring a background image.

    index.html, about.html, contact.html, prod.html and services.html,

    Add some classes of body to your external style sheet.

    Body.index {background-image: url (main - Bg.jpg) ;}}

    Body.about {background-image: url (Bg - 1.jpg) ;}}

    Body.contact {background-image: url (Bg - 2.jpg) ;}}

    Body.Products {background-image: url (Bg - 3.jpg) ;}}

    Body.Services {background-image: url (Bg - 4.jpg) ;}}

    In the HTML code of each page, change thetag to reflect the classes defined above body.

    It is the purpose of the page.

    This is the contact page, etc...

    Nancy O.
    ALT-Web Design & Publishing
    Web | Graphics | Print | Media specialists
    http://ALT-Web.com/
    http://Twitter.com/ALTWEB
    http://ALT-Web.blogspot.co

  • Deep Linking and currently a Web page inside the app

    Hello

    Is it possible to display a webpage site inside the App from the DPS? for example, the user click on the subscription banner/Sign Up, and the app will present page e-commerce from the website owner.

    Thank you

    If I understand the question, you have several options. You can create a banner with a URL. Target when the user clicks on the banner, the web page opens in a browser in app. The user then click done to dismiss the browser. Another option is to make a link to a Web site in an article.

  • After WSUS downloaded and installed the most recent Windows XP and 7 updates, we encountered the following error: page of the Intranet Web displayed in Internet Explorer (8 or 9) is on SERVER_A

    After that WSUS installed and downloaded the most recent Windows XP and 7 updates, we encountered the following error:

    The Web page of the Intranet being viewed in Internet Explorer (8 or 9) is on SERVER_A
    and the page contains a link to a file on a network share on the Serveur_B, making the href path something like
    'http://SERVER_B/myShare/myDocument.doc '.
    ... then it does NOT work.

    If the Intranet Web page being read in IE (8 or 9) SERVER_A on
    and the page contains a link to a file on SERVER_A, making the href path something like
    'http://IP..ADDRESS/myDocument.doc '.
    ... then it does not work.

    Before these updates, the system worked flawlessly.  We try to identify the update that caused this problem, but 28 of them fell on a Tuesday.  (22/11/2011).   These questions are the same with IE8 or IE9 and WindowsXP and Windows7.

    Has anyone seen this problem?

    Thanks, Jim

    It is a specific consumer support forum.

    You will find support for WSUS in this forum: http://social.technet.microsoft.com/Forums/en-US/winserverwsus/threads

    You will find support for Windows XP in an enterprise in this forum environment: http://social.technet.microsoft.com/Forums/en/itproxpsp/threads

  • trying to install logitech webcam c210. need to find the driver for it. went to the site Web, but no infro. for drivers.

    tried to fix the problem. has been unsecessful. keep getting error #2. No driver

    tried to fix the problem. has been unsecessful. keep getting error #2. No driver

    Hey cornbread1

    Here is the information for your webcam and page download driver Logitech

    For more problems, please contact logitech

    http://www.Logitech.com/en-us/support-downloads/downloads/webcams/devices/7022?section=downloads&bit=&OSID=13

    http://www.Logitech.com/en-us/support-downloads/downloads/webcams/devices/7022?WT.z_sp=model

    Walter, the time zone traveller

  • Need to download a driver for my HP psc 1205 all-in-one printer

    My HP psc 1205 all-in-one started to play up.   It takes forever (if there is one) to get a page to print.  I end up having to go to services.msc, select "Spooler" and then "restart".  It is said that said in the Description column "files charges to memory for later printing.  I want to just print a page.  I can't find my original disk to restore the printer.  I have check the print queue is empty (no file waiting to be printed).  When I master and P to print the report says 'Idle '.  What can I do to get to normal printing.

    The printer goes back to late 2003. Driver for Windows 7 support and beyond, it is everything that Windows Update has and that's going to be the absolute essential only.

    See here... http://support.HP.com/GB-en/search?q=HP%20psc%201205&filter=-1

    You'd want to consider purchasing a newer model which seeps pilot full support of its manufacturer... :-)

  • Can I remove the unknown user from my account page in the control panel

    Original title: unknown user

    In system under advances and user profiles properties, there is a user Unknown.Is it ok to delete?

    Paul Napolitano

    You can remove any user account, provided that you make sure that you have fully tested at least one admin account.

  • How to set the schema of authorization for all pages in the application

    I created the application that consists of more than 100 pages and I want to give them a same authorization window how quickly without clicking next? My apex worm is 4.2.5.

    Change - change the attributes of security - plan of allocation of permission...

    Aqua

  • Need to make small adjustments for jpg and overwrite the existing file

    I'm on Photoshop CC 2014 and I have hundreds of jpgs that just cropped and straightened. They are already copies of the originals, then there should be nothing that prevents me from doing these adjustments and quickly overwhelming with Cmd-S right? But I get the Save as dialog box which slows down the process considerably.

    It works wonders for a previous project and I'm updating PS between the two. I would straighten, crop, Cmd - S, move on to the next 1, pattern. Very fast. Thanks for any help!

    When trimming, make sure you have ' Delete cropped Pixels "checked.

  • Multi-page site needs an easy way to update all pages at the same time

    I should just start each post with my lack of qualifications.  I am the author of 2 sites and try to make the most recent design.  I'm starting a new site and have a column on the right side, where I post an update, sort of a newsbite.  I would like this update to appear on each page and have only update once so he could fill on all pages.  I'm just starting to work in CSS and using DIV. is there a way to do this?  I can't view the site that the new version is in offline mode. If this is impossible, I am early enough on the site to work on it to remove it on all except the home page.

    Thank you

    Gary

    An easy way to do this is to copy your old text and replace it with the new find and replace. Find the root folder and it should

Maybe you are looking for