OA Custom Page Import

Hi,
I tried importinga custom page using XMLImporter. the cosole message was "Import Succeded". i havent restarted the webserver. still wont it be available in the mds repository ?
jdr_utils.listContents is not listing the page. is this normal ?
thanks
karthik

please give more information..full path should match correctly.

Similar Messages

  • An error with tag " %@ page import" that imports EJBs

    Hello,
    I write an small examples demonstrate how EJB,Java Persistences and JSP work together.
    I have one session bean:
    +CustomerSession.java
    +CustomerSessionLocal.java
    +CustomerSessionRemote.java
    and some persistence classes:
    +Address
    +Customer
    +Subscription
    Well, my JSP page looks like:
    <%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
    <fmt:setBundle basename="LocalStrings"/>
    <%@ page language="java" %>
    <%@ page import="javax.naming.InitialContext" %>
    <%@ page import="enterprise.customer_cmp_ejb.persistence.Customer" %>
    <%@ page import="enterprise.customer_cmp_ejb.persistence.Subscription" %>
    <%@ page import="enterprise.customer_cmp_ejb.ejb.session.*" %>
    <%@ page import='java.util.*' %>
    InitialContext ic = new InitialContext();
    Object o = ic.lookup("java:comp/env/CustomerSessionLocal");
    CustomerSessionLocal custSession = (CustomerSessionLocal) o;
    When I build the war file, NetBeans 5.5 announced that there are some errors:
    Compiling 1 source file to D:\Projects\EESample_JavaPersistence\EESample_JavaPersistence-war\build\generated\classes
    D:\Projects\EESample_JavaPersistence\EESample_JavaPersistence-war\build\generated\src\org\apache\jsp\createCustomer_jsp.java:7: package enterprise.customer_cmp_ejb.persistence does not exist
    import enterprise.customer_cmp_ejb.persistence.Customer;
    D:\Projects\EESample_JavaPersistence\EESample_JavaPersistence-war\build\generated\src\org\apache\jsp\createCustomer_jsp.java:8: package enterprise.customer_cmp_ejb.persistence does not exist
    import enterprise.customer_cmp_ejb.persistence.Subscription;
    D:\Projects\EESample_JavaPersistence\EESample_JavaPersistence-war\build\generated\src\org\apache\jsp\createCustomer_jsp.java:9: package enterprise.customer_cmp_ejb.ejb.session does not exist
    import enterprise.customer_cmp_ejb.ejb.session.*;
    I don't understand why. However, i also try editing the web.xml as follow:
    <ejb-local-ref>
    <description> EJB Session</description>
    <ejb-ref-name>CustomerSessionLocal</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local-home/>
    <local>
    enterprise.customer_cmp_ejb.ejb.session.CustomerSessionLocal
    </local>
    <ejb-link>CustomerSession</ejb-link>
    </ejb-local-ref>
    In spite of trying hard, the build can't complete.
    I hope I'll get your supports.
    Thanks very much!!!

    Where is PA ? I just know La because LA Lakers (I
    hate this team and i like Kings and Rockets because of
    YAO MING, haha )Opposite side of the country. PA stands for Pennsylvania, on the East coast. LA (Los Angeles) is in California on the West coast. Philadelphia's basketball team is the 76ers, but they don't play the Lakers,
    Kings, or Rockets very often.
    As for my other info, I'm sorry, I don't give that out to people. Just a personal policy.

  • Can't open one custom page from other custom page after import.

    Hi all!
    I've created 2 custom pages "EITPersonPG" and "EITPersonMainPG" and imported them to the mds repository using import.bat. I created a function for "EITPersonPG" and added it into menu. I can open my pages from menu directly but when I try open "EITPersonMainPG" from "EITPersonPG" I get this error:
    oracle.apps.fnd.framework.OAException: No data found for region (ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG).
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    I executed "exec jdr_utils.printDocument('/ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG');" in Sql and it's OK.
    I created a function for "EITPersonMainPG" and added it into menu. I can open it.
    I can open "OA.jsp?page=ibsborlas/oracle/apps/per/eit/webui/EITPersonMainPG" from menu, but can't open it from "OA.jsp?page=ibsborlas/oracle/apps/per/eit/webui/EITPersonPG".
    What must I do so as to open "EITPersonMainPG" from "EITPersonPG"?
    Thanks in advance.
    Pavel.

    I've solved question about bouncing the apache server according to Doc ID: 471763.1 "R12 How To Bounce Apache And Clear HTML Cache In Vision Instance And Have Updated Java Code Class Active"
    Note :At R12 level bouncing apache command is different of the one to bounce oacore oc4j engine andothers. An example of situation is : how to make a modification to a JSPand have > > that modification recognized by the OC4J - JSP engine.
    So to clarify :
    1. In 11i the apache start and stop command , also
    bounce the JVM running on JSERV and clear caches by doings as below :To clear the jsp & modplsql caches run this commandrm -Rf $OA_HTML/_pages/*rm -Rf $COMMON_TOP/_pages/*rm -> Rf $IAS_ORACLE_HOME/Apache/modplsql/cache/*
    2. In R12 the command to stop and start apache only takes action on
    Apache web server and not on the OC4J container that executes the JVM.
    To bounce the OC4J container there is an specific script:
    *$INST_TOP/admin/scripts/adoacorectl.sh*
    Therefore when making a modification to a JAVA class in R12 for the
    web application, in order to have that change recognized, it is needed to bounce
    OC4J using adoacorectl.sh script.
    Bouncing oacore OC4J engine may also be needed if you make
    modifications to system properties. Example for JTT based
    applications: jtt system properties.Thank you Anoop!

  • Error while deploying a custom page oracle.jbo.NoDefException: JBO-25002

    Getting below error while deploying custom page ( not extension).Looked into previous threads not going anywhere.
    All the VO ,EO are valid. Imported the page into DB successfully, all the files are in JAVA_TOP (*.zip) , bounced the apache.
    Worked before in different instance, I think I am missing a step....
    oracle.jbo.JboException: JBO-29000
    Definition oracle.apps.pay.abcapproval.server.abcApprovalAM of type ApplicationModule not found.
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.pay.abcapproval.server.abcApprovalAM of type ApplicationModule not found at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
    looked into several theads , no use.
    Please help, need it ASAP.
    Thanks
    karun

    Exception Details.
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.pay.abcapproval.server.abcApprovalAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2382)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:571)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.pay.abcapproval.server.abcApprovalAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2382)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:571)
    oracle.apps.fnd.framework.OAException: oracle.jbo.NoDefException: JBO-25002: Definition oracle.apps.pay.abcapproval.server.abcapprovalAM of type ApplicationModule not found
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1145)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1408)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2382)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1735)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at oa_html._OA._jspService(_OA.java:84)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
         at oa_html._RF._jspService(_RF.java:102)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
         at oracle.jsp.JspServlet.service(JspServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:571)

  • Error while trying to open custom page

    Hi,
    I am getting error message "You have encountered an unexpected error. Please contact the System Administrator for assistance. " while trying to access the new custom page i developed.
    i have imported the page definition to MDS and copied all the .class and xml files to appropriate directories in $JAVA_TOP
    i am able to view the page definition using command
    SQL> exec jdr_utils.printdocument('/xxicx/oracle/apps/icx/po/webui/PODetailsSearchPG');
    below is the URL it shows when the error message is displayed
    http://server0070:8015/OA_HTML/OA.jsp?page=/xxicx/oracle/apps/icx/po/webui/PODetailsSearchPG&_ti=1318003364&oapc=6&OAMC=77395_17_0&menu=Y&oaMenuLevel=2&oas=nJ1Iq5JxZLmijMEXIXFbDg..
    Any idea on how to resolve the error.
    Thanks,
    -Kamal

    Hi AJ,
    Thanks a lot for pointing to the profile name, i was stuck, as there was no details of why the error is happening; after enabling the profile i am able to view error stack and resolved the error (AM was missing.. :) )
    Rgds,
    -Kamal

  • Error in using Custom Page Layout

    Hi all,
    I have created some customs page layouts, and they are working fine in the Portal (EP 6.0 SP2).
    Now I have imported them to another Portal (same version than the first one), I made an EPA pakage with the PCD objects for the new page layouts and deployed the PAR file containing the the JSP for the new layouts into the Portal.
    The result of this is the following:
    - I am able to create a page and choose one of my customs layouts as a default layout.
    - When in the page I try to select 'Edit > Page Layout' I get a 'Portal runtime error', and in the page logger I see the following exception (see it copied below):
    Am I missing any step in the transport? I think no but maybe there is something else I have to do.
    Thank you very much in advanced and regards
    Stella
    Exception ID:06:36_15/03/06_0043
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : com.sap.portal.appdesigner.pageeditor.LayoutView
    Component class : com.sapportals.appdesigner.pageeditor.layout.LayoutView
    User : biaalerein
            at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:853)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:311)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
            at com.sapportals.appdesigner.pageeditor.WorkPlace.drawView(WorkPlace.java:354)
            at com.sapportals.appdesigner.pageeditor.WorkPlace.doContent(WorkPlace.java:206)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
            at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
            at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:217)
            at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:601)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:191)
            at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:670)
            at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:229)
            at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:555)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:415)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.inqmy.services.servlets_jsp.server.InvokerServlet.service(InvokerServlet.java:126)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
            at com.inqmy.services.servlets_jsp.server.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:275)
            at com.inqmy.services.servlets_jsp.server.RequestDispatcherImpl.include(RequestDispatcherImpl.java:384)
            at com.sapportals.portal.prt.pom.RootComponentNode.service(RootComponentNode.java:144)
            at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:301)
            at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:138)
            at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable$1$DoDispatchRequest.run(AsyncIncludeRunnable.java:363)
            at java.security.AccessController.doPrivileged(Native Method)
            at com.sapportals.portal.prt.core.async.AsyncIncludeRunnable.run(AsyncIncludeRunnable.java:376)
            at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:729)
            at java.lang.Thread.run(Thread.java:479)

    Hi Krishna,
    I've been able to solve my problem.
    It was something wrong when transporting the page Layouts with an EPA package from one Portal to another. Some properties were lost.
    What I've done is to recreate manually the page layouts PCD Objects. And all it's working OK

  • FND_NO_REGION_DATA error while deploying a custom page to server.

    Hi all,
    I have a custom page which is running fine on my jdev. When I transfer it to server it gives me the error -
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = /oracle/apps/aear/dunnHistory/webui/dunningSearchPG;
    ## Detail 0 ##
    Exception:
    oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = /oracle/apps/aear/dunnHistory/webui/dunningSearchPG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    I followed the following steps to deploy the page:
    1.) Transferred the complete folder structure to $JAVA_TOP in ascii mode.
    2.) Transferred the class files again in binary mode.
    3.) Changed the mode of the class files to 777.
    4.) Imported the xml files to mds repository using the following command-
    adjava oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/oracle/apps/aear/dunnHistory/webui/dunningSearchPG.xml -rootdir $JAVA_TOP -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host = aebsw1d.aetna.com)(port =1525)))(connect_data = (sid = ARDEV)))" -rootPackage /oracle/apps/aear/dunnHistory/webui
    I also used java instead of adjava.
    Both the times it said import completed successfully.
    5.) Attached the page to function with webHtml path as- OA.jsp?page=/oracle/apps/aear/dunnHistory/webui/dunningSearchPG
    when I run jdr_utils.listdocuments('/oracle/apps/aear/dunnHistory/webui', TRUE); - It list my page.
    But when I run jdr_utils.printdocument('/oracle/apps/aear/dunnHistory/webui/dunningSearchPG'); - it gives Error: Could not find document /oracle/apps/aear/dunnHistory/webui/dunningSearchPG
    I don't know where i'm going wrong.
    I got this error once so I deleted the complete folder structure from server and repeated the same process again.
    But no success.
    Plz help as its really urgent for me.

    Hi,
    Looks like the import script is not correct,
    adjava oracle.jrad.tools.xml.importer.XMLImporter $JAVA_TOP/oracle/apps/aear/dunnHistory/webui/dunningSearchPG.xml -rootdir $JAVA_TOP -username apps -password apps -dbconnection "(description = (address_list = (address = (community = tcp.world)(protocol = tcp)(host = aebsw1d.aetna.com)(port =1525)))(connect_data = (sid = ARDEV)))" -rootPackage /oracle/apps/aear/dunnHistory/webui
    Once you finished this import, what is the success message you are getting see the path,
    Change the -rootPackage to just /
    and try the script,
    or run from your laptop using the below script,
    <JDEV_DIR>\jdevbin\jdev\bin\import <JDEV_DIR>\jdevbin\jdev\myclasses\xxt\oracle\apps\pon\registration\webui\XXTSupplierRegistrationPG.xml -username apps -password apps -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<DB_HOST_NAME>)(PORT=<DB_PORT>))(CONNECT_DATA=(SID=<DB_SID>)))" -rootDir <JDEV_DIR>\jdevbin\jdev\myclasses\ -rootPackage /
    Thanks,
    With regards,
    Kali.
    OSSI.

  • Can we add a new attachment to an existing SC from any other custom page in SoCo PO View

    Hi Experts,
    Need your expert advice on the below requirement.
    We have created a custom view in SoCo PO page. There we have a New custom view called Notes&attachement.which contains same value from Notes & attachment of Shopping Cart.
    We are updating existing Notes of SC by FM 'bbp_pd_sc_update' and same is reflected in SC of same item guid & same header guid.
    Similarly trying to add a new Attachment to already existing attachment. New attachment is reflected in custom page and the describe link is working perfectly. but if come out of SoCo page , lets say in SC the new added attachment is shown but display_url,phio_size etc are not stored properly in DB.
    in bbp_pd transaction every thing looks same for new and existing attachment. we are using same FM 'BBP_PD_SC_UPDATE' by passing new internal table of attachment in import statement. Even 'BBP_PROC_DOC_UPADTE' has same result that is attachment is partially updated.
    Suppose, SC has one attachment at the time of creation. then adding a new attachment in custom view of SoCo PO page then every thing works fine in SoCo PO page but out of that SoCo PO or in SC the newly added attachment is not properly updated.
    I have added mime_type,phio_size,disp_url,file_name,file_ext,ev_content of new attachment in existing attachment internal table and calling above FM for update.
    Can we  add new attachment outside SC to existing SC ? if yes , then how?
    Thanks,
    Partha

    Hi Partha,
    Please post this query in the category: SAP SRM. Your post currently shows up on the forum - SRM User Interface Add-on. As your query is not related to the new ad-on, you might not get as many responses in this forum as you would have if you had posted the query in the general SRM forum (http://scn.sap.com/community/srm).
    Hope this helps
    Cheers,
    Yateesh

  • Unable to see the pageviewer in a page from pages library in a custom page layout

    <File Url="Inbox.aspx" Type="GhostableInLibrary" Level="Published" Path="myPages\Pages\Inbox.aspx" >
    <AllUsersWebPart WebPartOrder="0" WebPartZoneID="Header" ID="inboxwp1">
    <![CDATA[<WebPart xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/WebPart/v2">
    <Title>Inbox</Title>
    <FrameType>Default</FrameType>
    <Description>Displays another Web page on this Web page. The other Web page is presented in an IFrame.</Description>
    <IsIncluded>true</IsIncluded>
    <ZoneID>wpz</ZoneID>
    <PartOrder>0</PartOrder>
    <FrameState>Normal</FrameState>
    <Height></Height>
    <Width />
    <AllowRemove>true</AllowRemove>
    <AllowZoneChange>true</AllowZoneChange>
    <AllowMinimize>true</AllowMinimize>
    <AllowConnect>true</AllowConnect>
    <AllowEdit>true</AllowEdit>
    <AllowHide>true</AllowHide>
    <IsVisible>true</IsVisible>
    <DetailLink />
    <HelpLink />
    <HelpMode>Modeless</HelpMode>
    <Dir>Default</Dir>
    <PartImageSmall />
    <MissingAssembly>Cannot import this Web Part.</MissingAssembly>
    <PartImageLarge>/_layouts/15/images/mscntvwl.gif</PartImageLarge>
    <IsIncludedFilter />
    <Assembly>Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c</Assembly>
    <TypeName>Microsoft.SharePoint.WebPartPages.PageViewerWebPart</TypeName>
    <ContentLink xmlns="http://schemas.microsoft.com/WebPart/v2/PageViewer">/_layouts/15/AppPages/InboxRedirectPage.aspx</ContentLink>
    <SourceType xmlns="http://schemas.microsoft.com/WebPart/v2/PageViewer">URL</SourceType>
    </WebPart>]]>
    </AllUsersWebPart>
    <AllUsersWebPart WebPartOrder="0" WebPartZoneID="LeftWP" ID="wpLeft">
    <![CDATA[
    <webParts>
    <webPart xmlns="http://schemas.microsoft.com/WebPart/v3">
    <metaData>
    <type name="myWebParts.ProjectLinks.ProjectLinks, m, Version=1.0.0.0, Culture=neutral, PublicKeyToken=52f3214933d771f7" />
    <importErrorMessage>$Resources:core,ImportErrorMessage;</importErrorMessage>
    </metaData>
    <data>
    <properties>
    <property name="Title" type="string">myprojectLinks</property>
    <property name="Description" type="string">My Visual Web Part</property>
    </properties>
    </data>
    </webPart>
    </webParts>
    ]]>
    </AllUsersWebPart>
    <Property Name="ContentTypeId" Value="0x010100C568DB52D9D0A14D9B2FDCC96666E9F2007948130EC3DB064584E219954237AF390076F7B5D03DD146D699D042E1C5D76EF7" />
    <Property Name="FileLeafRef" Value="Inbox.aspx" />
    <Property Name="Title" Value="Inbox" />
    <Property Name="PublishingPageLayout" Value="~SiteCollection/_catalogs/masterpage/myPageLayout/myPage.aspx, my custom Page Template"/>
    <Property Name="ContentType" Value="myPageCT" />
    <Property Name="_ModerationStatus" Value="3" />
    <Property Name="FileDirRef" Value="Pages" />
    <Property Name="FSObjType" Value="0" />
    </File>
    I have created a custom page layout in my site collec. using VS 2012 and deployed am able to see the page in the pages lib [inbox.aspx].
    Here, I have added a page viewer web part and I want to redirect to another application page, which is already coded [inboxredirect.aspx] in my solution[its another dll - another SP solution which has appln pages and web parts
    etc - ] 
    The issue is that, i am unable to see the page viewer web part when the page is displayed. inbox.aspx is a page which is created once my custompagelayouts solution is deployed and when i navigate to this page, i am stuck . i am getting
    the  " access denied " message is displayed.  
    can anyone help why this  error is displayed?
    in my inboxredirect.aspx page i am inherting from unsecuredlayoutspagebase class, so  i dont think , access denied message should come.
    using System;
    using System.Configuration;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.WebControls;
    namespace myproj.Layouts.AppPages
    public partial class InboxRedirectPage : UnsecuredLayoutsPageBase
    string projectName = string.Empty;
    protected void Page_Load(object sender, EventArgs e)
    string siteUrl = SPContext.Current.Web.Url;
    using (SPSite site = new SPSite(siteUrl))
    using (SPWeb web = site.OpenWeb())
    string urlProjectName =Request.UrlReferrer.ToString();
    projectName = urlProjectName.Split('/')[5];
    //end
    SPUser user = web.CurrentUser;
    if (user != null)
    above is my appln page to which i am redirecting.

    Solved it myself guys... (Well the major part)
    Got help from here...
    https://www.nothingbutsharepoint.com/sites/devwiki/articles/pages/blank-open-save-dialog-when-browsing-document-library-from-office-clients.aspx
    and
    http://www.sharepointconfig.com/2011/02/vs2010-list-definition-template-missing-file-dialog-view/
    with some tweaks of my own..
    Still working on it because its showing SharePoint 2010 header... And I need 2013 look...

  • How do I make a custom page size in Acrobat X pro?

    I downloaded a gigantic trial version of Acrobat X pro to create a full PDF book cover. I was
    unable to figure out how to make the program do anything at all. The help file and forums did
    not give me the information I needed. Eventually I was able to use 4 other programs in
    combination to create a .doc version of the cover but now I need to turn it into a PDF.
    Can somebody please tell me how to, or how to find out how to, create a custom page size in
    Acrobat X Pro and import a Word document into that page size.
    Alternatively perhaps someone could tell me where I can download an earlier, hopefully more
    usable, version of Acrobat.

    As you have discovered, Acrobat is not a creation or editing tool. It is a program to create a final archive of a document from another application that is readable on most platforms. There have been several tools added to Acrobat to provide more functionality for forms and such, but it was never intended for the creation process.
    Now that you have created your cover in WORD, an appropriate place to create it, you would simply print the page to the Adobe PDF printer. You should change the printer in WORD before the conversion and check the page to be sure that it is still what you wanted. This check is needed for versions prior to OFFICE 2007 that used printer metrics by default. Since OFFICE 2007, printer metrics have been turned off by default.
    If the page does not come out correctly (like is 8.5X11 letter or an A-4 page), then enter the printer properties before printing and set a custom page size there to match your WORD document. I assume the WORD document has the desired size. The printer property change is like putting the correct paper in the printer before printing. Sometimes it seems to sense the application setting, and yet at other times is seems to need to be set.

  • Customizing page size and layouts

    Three topics:
    CUSTOM PAGE SIZE.  There have been lots of requests for the ability to set custom sizes.  One "easy" way would be to create page margins in the same way that padding allows cell margins.  This way, a user can create (for example) a 10.5x9.5 "page" on a 12x12 platform.  Particularly for those of us printing our own, it's one way to allow customization.  All of the built-in layouts would then have to be scaled to fit within the page margins.
    If this is done, the next logical extension would be to add a few common paper sizes to the Book Settings.  This way, a user could create virtually any page size.  For example 14W11H on a 13x19 sheet.
    COPYING LAYOUTS.  Would also be great to "copy-paste" layouts.  After I pick a starting layout and then adjust cell padding, move captions, change fonts, and so forth, I'd like to replicate that elsewhere.  In fact, I'm trying to create a left-page/right-page 11x11 on the 12x12 platform using cell padding, and it would be great to copy my customized "left-page" layout to all the left pages.
    HIGH-QUALITY PRINT YOUR OWN.  I've not yet tried printing via exported pdf on my local printer.  Will it be as high resolution and as well color managed as if I printed directly from the Print module?  I use icc profiles (some from vendors, some custom created) specific to each paper.  I've now spent a lot of time narrowing choices of dual-sided paper to print my own books and I don't want to lose that capability.

    Printing from the exported PDF. The quality I get is exactly just as good as printing any file directly.
    I have two methods but they are for my Mac system, but I guess you can interpret them if you are on windows.
    1 Set the desired parameters for the PDF in the book module (quality, profile to embed etc) and export to a folder
    2 import into Photoshop and adjust the parameters if necessary
    In Photoshop "save as" whatever file you wish which you can then print normally from PS or else import into LR and print with profiles from there
    3 Printing from the PDF by opening in Adobe Reader, setting Page Setup and then "file-Print"
       In Mac choose your paper preset, and under Copies and Pages drop down menu you can find print settings (color adjustment "off" etc.) and under color matching on Mac I choose Color Sync, and "Other Profiles"
    which shows me all my custom paper profiles
    Sorry for the long post
    Another simple way on the Mac is to <right click> or <Control click> on the PDF file and choose "Open with Preview" It's important to choose the correct color profile in the Book Module before exporting to PDF so that the correct profile is used in Preview

  • Set custom page size for printing

    I want to set a custom page size for printing some PDF three and four-page musical scores to roll paper on an Epson 1290 using Adobe Reader 9.3.4 on Ubuntu 10.04. The printer properties in the print dialog has a media size option, and one of the choices is "custom", but having chosen "custom", the dialog does not allow me to add the actual page size to the lpr printer command. I can see that when I choose "custom", the lpr command is
    lpr -P Stylus-Photo-1290 -o PageSize=Custom etc
    but what I need for a three page output, for example, is
    lpr -P Stylus-Photo-1290 -o PageSize=Custom.297x630mm etc
    and I can't see how to add the actual custom paper size. If I Ok the media size choice dialog with it just set to PageSize=Custom, I can see from the output preview in the print dialog that the actual page size that has been chosen is letter. The online Adobe doc for Reader 9 printing (http://help.adobe.com/en_US/Reader/9.0/content.html#heading2.3) says "For documents that are larger than the standard page size, go to File  > Page Setup.  Create a custom page size before you print your  document". The problem with that is that there is no "Page Setup" option on the File menu in the Unix version of Adobe Reader, only a "Print" option, which is where I already am.
    If I open the PDFs in Evince, it allows me to add the custom page sizes I want, but as Evince doesn't have the option to print multiple pages per sheet I can't use it either...

    Yes, it used to work, and the resize zoom bar used to work too (now its grayed out). I don't know if this is a "who's to blame for it" thing, but its not getting fixed and its pretty bad that no one seems to care enough even to respond. I found my own solution by opening it in Gimp. Just right click and select open with other ...Gimp and it will import into it. In the Gimp Print dialog, you have a scaling percentage in the "Page Setup" tab, and size settings in the "Image settings" plus loads of other stuff including multiple copies.

  • 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

  • Word 2011 for Mac Issue with Custom Page Size

    I have installed Microsoft Office 2011 for Mac on my brand new iMac.  I'm using Microsoft Word 2011 for Mac and I have opened the "Word Publishing Layout" template (this is essentially Microsoft Publisher).  I'm trying to set up custom page sizes by performing the following steps.  I go to File --> Page Setup and use the following settings:
    1. Settings: Page Attributes
    2. Format For: Any Printer
    3. Paper Size:  I choose "Manage Custom Sizes"
    4. I create a 24x36 page and save it
    When I do this, Word 2011 (and Word 2008) for Mac will only go to a maximum of 22 inches wide and 22 inches in height.  Is there any way around this?  I need the big sizes to do digital proofs for my business.  I don't want to scale down to 12x18 (essentially cutting the proof by 50%) because when I import it into my other program that can accommodate any size document, I have to do a lot of manual work to get things back to scale.  Thanks in advance for your help.  If we can figure this out, I'll be grateful.
    AC

    Please re-post on the Office for Mac Product Forums

  • Can we  add new attachment outside SC(like from custom page on SoCo PO)  to existing SC ?

    Hi Experts,
    Need your expert advice on the below requirement.
    We have created a custom view in SoCo PO page. There we have a New custom view called Notes&attachement.which contains same value from Notes & attachment of Shopping Cart.
    We are updating existing Notes of SC by FM 'bbp_pd_sc_update' and same is reflected in SC of same item guid & same header guid.
    Similarly trying to add a new Attachment to already existing attachment. New attachment is reflected in custom page and the describe link is working perfectly. but if come out of SoCo page , lets say in SC the new added attachment is shown but display_url,phio_size,disp_url etc are not stored properly in DB.
    in bbp_pd transaction every thing looks same for new and existing attachment. we are using same FM 'BBP_PD_SC_UPDATE' by passing new internal table of attachment in import statement. Even 'BBP_PROC_DOC_UPADTE' has same result that is new attachment is partially updated.
    Suppose, SC has one attachment at the time of creation. then adding a new attachment in custom view of SoCo PO page then every thing works fine in SoCo PO page but out of that SoCo PO or in SC the newly added attachment is not properly updated.
    I have added mime_type,phio_size,disp_url,file_name,file_ext,ev_content,phio_content of new attachment in existing attachment internal table and calling above FM for update.
    Can we  add new attachment outside SC to existing SC ? if yes , then how?
    Thanks,
    Partha

    Your attachments are saved in BBPCONT you can use below steps to check that , I think you can develop a solution inline to the standard architecture. 
    a) Run FM BBP_PD_XX_GETDETAIL
    b) Use GUID from the Export parameter ET_ATTACH-GUID
    c) Use table BBPCONT and pass ET_ATTACH-GUID in step (b) to PHIO_ID .
    d) Then you will have the document content.
    You will get the attachment
    Cheers
    Ankit Jain

Maybe you are looking for