Using seeded VOs in custom pages

Hello,
We are developing some custom pages and we would like to use some existing seeded VOs.
Example, we want to use LOV for letting user choose country, there is already a seeded VO called CountryVO {*oracle.apps.pos.supplier.lov.server.CountryVO*}
Right now we are adding this VO in our custom AM like this and it is working fine.
<ViewUsage
Name="CountryVO"
ViewObjectName="oracle.apps.pos.supplier.lov.server.CountryVO" >
</ViewUsage>
Is this the right way of using seeded VO, if not, what is the alternative way?
regards, Yora

Yora,
This is definitely the right way to achieve the same. If the existing Query fullfills your requirement then there is no need to create the same.
Regards,
Gyan

Similar Messages

  • How to use SSHRParams in a custom page

    Hi
    I have been trying to use SSHRParams in my custom page. I need to use this to get AssignmentId and PersonID. Initially I tried using the SSHRParam package by just importing it. But it did not help. Below is the code that I had in my controller
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl;
    import oracle.apps.per.selfservice.common.SSHRParams;
    * Controller for ...
    public class PtoRequestDeleteCO extends PerOAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    SSHRParams localSSHRParams = new SSHRParams(pageContext.getRootApplicationModule());
    //localSSHRParams.initCtx();
    String personType = localSSHRParams.getSelectedPersonType();
    String personID = localSSHRParams.getSelectedPersonId();
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    I am new to OAF and I have tried almost everything that I can think of.
    Thanks
    Kumar
    Edited by: kvsankar on Feb 15, 2011 6:30 PM

    Here this is what you need to do
    1. get all the files from $PER_TOP/mds folder onto your pc.
    2. create folder structure called oracle/apps/per and put all the files from step1.
    3. zip above oracle folder and move it to jdevhome/jdev
    4. Attach this .zip file to the project by going into project properties -> libraries -> add libraries ( select the file in class path and source path example both these paths should be .../jdevhome/jdev/filename.zip)
    5. see my control code below ( remove any unnecessary code lines from below and use what u need, i am just pasting as is )
    package oracle.apps.pay.w4.webui;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAViewObject;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.server.OADBTransactionImpl;
    import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.per.selfservice.common.SSHRParams;
    * Controller for ...
    public class W4mainCO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    OAApplicationModule oaapplicationmodule = pageContext.getRootApplicationModule();
    OADBTransactionImpl oadbtransactionimpl = (OADBTransactionImpl)oaapplicationmodule.getOADBTransaction();
    OAApplicationModule oaapplicationmodule1 = pageContext.getApplicationModule(webBean);
    OAViewObject oaviewobject = (OAViewObject)oaapplicationmodule1.findViewObject("W4VO1");
    SSHRParams sshrparams = new SSHRParams(pageContext.getApplicationModule(webBean).getOADBTransaction());
    String s = sshrparams.getPersonId();
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    Serializable[] parameters = { s };
    am.invokeMethod("initDetails", parameters);
    let me know if you need any help.
    Thanks
    Karan

  • Using Manager Hierarchy in custom page

    Hello,
    Just like we have in the seeded page where when a manager logs in using manager self-service, he/she will be able to view all their employees, Can we do the same in the custom page? Below is the function details but in my custom page, i don't have workflow. I just want to display all the employees working under that manager and the hierarchy. Also the action button which will naviage to my custom page.
    OA.jsp?akRegionCode=HR_CREATE_PROCESS_TOP_SS&akRegionApplicationId=800
    Any help would really help me in my design.
    Thanks
    Pavan

    Niharika,
    Are you making use of EO bases VO in this page. You will get this popup only in the case where you are making use of it.
    Regards,
    Gyan

  • Cannot print using RDP, with a custom page size ,on HP Laserjet M1217nfw MFP

    Dear Team,
    i have on the server win 2008 R2 standard , i have installed the drivers of HP Laserjet M1217nfw MFP printer , 
    on the client i have win pro 7 SP1.
    i need to print through RDP the documents generated in my application which i access remotely using RDP.
    i know the printer drivers are installed on client and server both.
    the issue is of creation of custom pages to print the document in proper format so that it prints in the client PC with proper formatting.
    we are currently successfully printing on HP Laserjet P3015 printer but at a different location. and i have 5 branches still to be able to print this document from the application,
    I need you advise and assistance as to how do i go about achieving my objective with this printer,
    Thanking you in advance
    regards
    Vibes

    Hello JBC666,
    I understand that you are having an issue with printing wireless from your M1217nfw. I can understand how frustrating this can be. I would like to confirm a couple of things with you to get better understanding of your setup.
    1) How far away from the printer is the router?
    2) Has there been an recent changes that could have caused the issue?
    As well printing a network test report, is an excellent option to find out if there is any issues with the connection at all. I have included the following steps to print the test.
    1) Press the wrench button
    2) Press the right arrow until you see Network Config
    3) Press Ok
    4) Press the right arrow until you see Network Test
    5) Press Ok
    1) Does anything fail on this test?
    2) What is the signal quality?
    3) Are you able to view the printers embedded web server?
        Steps to accessing the embedded web server
        1) Open up your internet browser
        2) Type the IP address (from the test report) into the address bar
        3) Press Enter
    Thank you.
    I worked on behalf of HP

  • How to get inputted value in a RTE field on custom page and submit by REST call in 'Sharepoint hosted app'.

    Hi I am facing the three questions below.
    1. How to use default RTE in custom page in Sharepoint hosted app.
     I saw the article of Rich text Editor (ribbon based) in a webpart in SharePoint 2013 and tried it. But it did not work well. I guess it needs code-behind setting, however sharepoint hosted app does not support code-behind.
    Does anybody know how to do this?
    2. In above case, I placed the below code on custom page and tried to get the field's value when submit button was clicked.
    <SharePoint:InputFormTextBox ID="rftDefaultValue"
    RichText="true"
    RichTextMode="FullHtml" runat="server"
    TextMode="MultiLine" Rows="5">
    </SharePoint:InputFormTextBox>
    In debugger, the returned value was 'undefined'.
    var note = $('#hogehoge').val();
    Is it possible to get the RTE value? If yes, please let me know how to do this.
    3. I need to submit the RTE value using REST call.
    In this
    article in MSDN, the item creation sample treats single line text field. Does anybody know the sample for RTE?

    Hi,
    According to your description, you might want to use Rich Text Editor control in your SharePoint hosted app.
    First of all, I would suggest you post one question in one thread to make it easier to be discussed, which would also help you get a quick solution.
    Though we can add this control into a SharePoint hosted app, however, as we can’t add code behind for it, plus with the potential compatibility issues in different
    browsers, I would suggest you use other JavaScript Rich Text Editor plugins instead.
    Two JavaScript Rich Text Editor plugins for your reference:
    http://quilljs.com/
    http://nicedit.com/
    If you want to submit the value of Rich Text Editor control to a SharePoint list using REST call, since the content in the Multiple Line of Text column is wrapped
    with nested HTML tags, the similar requirement would also be applied to the content to be submitted.
    Here is a code snippet about how to update a Multiple Line of Text column for your reference:
    updateListItem(_spPageContextInfo.webAbsoluteUrl, "List018", 1);
    function updateListItem(siteUrl, listName, itemId)
    var itemType = GetItemTypeForListName(listName);
    var item = {
    "__metadata": { "type": itemType },
    "MultiTextEnhanced": "<div><a href='http://bing.com/'>Bing</a><br></p></div>",
    "Title": "123"
    $.ajax({
    url: siteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items(" + itemId + ")",
    method: "GET",
    headers: { "Accept": "application/json; odata=verbose" },
    success: function (data) {
    console.log(data);
    $.ajax({
    url: data.d.__metadata.uri,
    type: "POST",
    contentType: "application/json;odata=verbose",
    data: JSON.stringify(item),
    headers: {
    "Accept": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val(),
    "X-HTTP-Method": "MERGE",
    "If-Match": data.d.__metadata.etag
    success: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    error: function (data) {
    console.log(data);
    // Getting the item type for the list
    function GetItemTypeForListName(name)
    return"SP.Data." + name.charAt(0).toUpperCase() + name.slice(1) + "ListItem";
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Patrick Liang
    TechNet Community Support

  • Error while calling standards OAF page from Custom page

    Hi,
    Using personalization, from a custom page, I am trying to open a standard Iexpense page using the following inthe Destincation URI in messagestyledtext as
    OA.jsp?OAFunc=OIEMAINPAGE&startFrom=ActiveSubmitted&ReportHeaderId=380705855&OIERefreshAM=Y
    The original page has OA.jsp?OAFunc=OIEMAINPAGE&startFrom=ActiveSubmitted&ReportHeaderId={!ReportHeaderId}&OIERefreshAM=Y in the message styled text
    But when click on this from the custom page, the page opens with tabbed regions above and then gives error as below. Please let me know how to resovle this issue.
    Profiles 1) FND_VALIDATION_LEVEL and 2) FND_FUNCTION_VALIDATION_LEVEL are already set to None.
    Error is:
    Page Security cannot be asserted. The page has either expired or has been tampered. Please contact your System Administrator for help.
    Thanks,
    Srikanth

    Hi,
    R u still facing the issue?
    If So can you please tell me:
    Have u added your called function to the current user? That means by navigating to the responsibility you can access the same page directly, with out doing any transaction? If so then create your custom function with your required URL and attach to a menu ; then check if you are able to view that page from the menu navigation?If these thing is not working then I think you need to create a custom page that will extend the std region , that time hopefully it will work.
    Please post your result/thought!!
    Regards
    Apurba K Saha

  • Seeded DFF in a custom page

    Hello,
    I'm trying to enable "PER_ADDRESSES" seeded DFF in a region in my custom page. I did the below but i get an error message "Current VO row is empty for flexfield" when the page opens. Please correct me if i'm missing anything.
    1) Under MessageComponentLayout, i have created flex item.
    2) Application Short name: PER
    Name: PER_PEOPLE
    Type: Descriptive
    view instance: FlexVO
    3) FlexVO Query:
    SELECT DFF.descriptive_flexfield_name "FEILD NAME",
    dffC.application_id,
    DFFC.application_column_name "COLUMN",
    DFFC.descriptive_flex_context_code "CODE",
    dff.application_table_name "TABLE",
    DFFC.APPLICATION_COLUMN_NAME
    FROM FND_DESCRIPTIVE_FLEXS DFF, FND_DESCR_FLEX_COLUMN_USAGES DFFC
    WHERE DFF.application_id = dffc.application_id
    AND DFFC.DESCRIPTIVE_FLEXFIELD_NAME = DFF.DESCRIPTIVE_FLEXFIELD_NAME
    AND dff.descriptive_flexfield_name = 'PER_PEOPLE'
    4) In the processRequest of the page, below is the code
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject vo3 = (OAViewObject)am.findViewObject("FlexVO");
    vo3.clearCache();
    vo3.executeQuery();
    I would really appreciate your help on resolving this issue.
    Thank You All
    --KK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Hi Shree,
    Thanks for the update. My Vo alias is also FlexVO in the AM but still i tried using FlexVO1 like you specified and it says VO not found. It looks like i am missing something in my code. Unable to figure out what it could be.
    Thanks
    --KK                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to call & pass values to custom page from seeded page table region

    Hi All,
    can anyone tell me how to call & pass values to custom page from seeded page table region(Attribute is not available in seeded page VO)
    it is urgent. plssss
    Regards,
    purna

    Hi,
    Yes, we do this by extending controller, but you can also try this without extending controller.
    1. Create Submit Button on TableRN using personalization.
    2. Set "Destination URI" property to like below
    OA.jsp?page=/<yourname>/oracle/apps/ak/employee/webui/EmpDetailsPG&employeeNumber={@EmployeeId}&employeeName={@EmployeeName}&retainAM=Y&addBreadCrumb=Y
    Give your custom page path instead of EmpDetailsPG.
    EmployeeId and EmployeeName are VO attributes(Table Region)
    If you dont have desired attribute in VO, then write logic in your custom page controller to get required value using parameters passed from URL path.
    In this case, only personalization will do our job. Hope it helps.
    Thanks,
    Venkat Y.

  • "Output could not be issued" when using custom page formats

    Dear all,
    I created a custom page format using SPAD. Its dimension is 7.5cm x 10cm (190mm x 254mm). I also created this page format in windows and set as the default paper size in my printer. However, when trying to print a smartform using this size, the message "Output could not be issued" is given. When I use the standard paper sizes (e.g., LETTER, DINA4), the form prints OK.
    Can you point me to the direction to solving this?
    Thank you!
    Kyle

    Issue resoved.
    For those who are encountering the same problem, here's what I did. I tested the smartform by itself and it reported the specific error: the page format is not supported in device type SWIN. I added it in another device type SAPWIN. This was just a simple miscommunication between the admins and the developer. I added the format in SWIN and everything works fine.
    Kyle

  • Creation of custom page without using NetWeaver Developer Studio

    Hi Experts,
    In my project, we have not installed NetWeaver Developer Studio. We are using EP 7.0.
    We have to create a custom page for the project. In this page, we have to provide seperate iViews links.
    The page should look like this:
    iView 1 - Link                iView 2 - Link        iView 1 - Link
    Help iView 1-Link        Help iView 1-Link     Help iView1-Link
    I tried to do so by creating a page. In the page, I tried to use 'Three Coloumn Page' layout. The iviews are getting displayed in following way:
    iView 1 (iView is getting displayed .Link not getting displayed)
    Help iView 1 (iView is getting displayed .Link not getting displayed)
    iView 2(iView is getting displayed .Link not getting displayed)
    I can not display link of all six iViews. Further more iViews are getting displayed in one coloumn and 3 rows. I can see the iViews directly. I am not able to display links for iViews.
    I need 3 coloumns and 2 rows layout.
    Can you please let me know how to achieve this?
    Whether I have to create new layout? For this whether we will need NetWeaver Developer Studio?
    Can we do it by creating HTML page. In the HTML page, we will have many links. These links will point to the iViews stored in SAP EP's KM. If so, what be the steps?
    I know that it can be done by creating a PAR file and deploying it. But, we don't have Netweaver Developer Studio.
    Can we acheive above without using NetWeaver Developer Studio?
    Please help me.
    Regards,
    Brian

    Hi Kedar,
    Thanks. My requirement is that six iViews links should be shown in the portal content area.
    The iViews links should be like
    iView 1-Link         iView 2-Link           iView 3-Link
    Help iView 1-Link Help iView 2-Link    Help iView3-Link
    When user will click on any iView link, the relevant iView should be displayed.  The iView can be displayed in seperate new page. So naturally five iView link will not be displayed.
    I am planning to create one HTML page and store it in KM. I will call this page in portal content area.
    There will be hyperlink on this HTML page. The hyper link will be attached to other iView links in  KM.
    Whenever user will click on any Help link or iView link the corresponding iView will be called from  KM.
    So in KM we will store 7 objects. 3 HTMLpages for help. 1 HTML page for main page.
    Other 3 will point to iView-Link1, iView-Link2 and iView-Link3.
    Can I do so? Will it sort out my problem?
    Thanks

  • How to use parameter passed from standard page in VO query of custom page

    Hi everyone,
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .
    And how to use those parameters in the VO query of my custom page.
    Edited by: Bunny on Nov 11, 2010 9:16 AM

    Hi,
    Bunny wrote:
    I have a custom page which needs to be called from a standard page. Now this custom page is based on some parameters passed from standard page.
    How do I catch those parameters i my custom page .---If standard page the button style is :Button,Then u can set Destination URL in personalization.
    Destination UR:"OA.jsp?page=/xxx/oracle/apps/po/msg/webui/CustomUpdatePG&Flag=" +Value  ---Like u can pass params
    ---IF the button style is :Submitbutton ,Then u need to customization of the co.
    ---In co processFormReq call a cutom page like below.
    pageContext.setForwardURL("OA.jsp?page=/xxx/oracle/apps/po/msg/webui/customUpdatePG&Flag=" +Value, null, (byte)0, null, null, true, "N", (byte)0);
    ---In custom page co in processRequest u can get these value :String value=pageContext.getParameter("Flag");
    And how to use those parameters in the VO query of my custom page.---Get the vo and set where clause
    String where="valueAttr="+value;
    vo.setWhereClauseParams(null);
    vo.setWhereClause(where);
    vo.executeQuery();
    Regards
    Meher Irk
    Edited by: Meher Irk on Nov 11, 2010 11:53 PM

  • How to use getContent() method in custom JSP Provider to display a HTML Pag

    Hi,
    If anybody knows how to use getContent() method to use in custom jsp providers (developed by ourselves) so that it can be used to retrieve a jsp page (a simple html page) ..
    I want the code in the provider java file to for the getContent method...
    Pls. get back to me asap....if any body has implemented a custom jsp provider...as it's urgent...
    I have alreday placed the JSP file in the directory structure /etc/opt/SUNWps/desktop/default/channel_dir..But still the jsp is not being displayed..
    Pls get me the getContent() method code to retrive the JSP file..
    satyabrata

    Hi,
    You don't have to do anything in the custom JSPProvider's getContent method except the call {  return super.getContent(request,response); } . If all you want is just to show your jsp, then create a channel from the default JSPProvider, and edit the property contentPage of that channel from samplecontent.jsp to your jsp name, save the changes and login again. You should see your JSP.
    Sanjeev.

  • How to develop custom page using Hgrid

    Hi,
    I have to develop one custom page with hierarchy. I think it will reach through hgrid. So how to develop page using hgrid.
    Thanks in advance,
    Hanimi....

    Hi,
    I have to develop Custom OAF page like following navigation for an employee position hierarchy from bottom to top. Can we achieve this requirement through custom OAF Page, If achieve How?
    If you go to HRMS Manager --> Work Structures --> Position --> Diagrammer. Here you can able to see the position hierarchy. Same as like this i have to develop one custom page. Pls let me know how to achieve this requirement.
    Thanks in advance,
    Hanimi...

  • Can I use OA framework to create custom pages

    Hi,
    My client is using 11.5.8 and the Framework version is 5.6.
    And we want to add a custom page to iSupplier application.
    Can I use OA Framework extension to develop the page and add it to the application without upgrading the applications techstack.? If Yes, what version of the OA patch do I need to use for development.
    If not, is there any way to add a custom page to this application?

    OAF can be technology of choice only after 11.5.9 . Use JSP instead to develop your custom pages.
    --Mukul                                                                                                                                                                                                                                                               

  • Epson 3800 Custom page sizes using yosemite

    I upgraded to Mac OS yosemite a few weeks ago and PS CS5 crashes when I open the custom page size dialog. I've reinstall PS and made sure my driver was the latest version. Reinstalled the driver as well. This appears to be a PS problem because I can use this printer in other apps to create a custom page size. At least the problem the interaction between Mac OS 10.10, Photoshop and the driver. Any ideas? Is this a known problem?

    "One more thing" as SJ liked to say...  Yosemite has been tested with CS6, so why not download a trial and see if it plays well with your system. For CS5 owners, it's a $200 upgrade and probably affordable in your case.
    Get it here:
    http://helpx.adobe.com/x-productkb/policy-pricing/cs6-product-downloads.html
    Gene

Maybe you are looking for