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                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • Stale Data error when invoking seeded OAF from a custom OAF page

    Hi All,
    We have a requirement in OAF where we have to open a Seeded OAF Page (Install Base) from our Custom Page. We are using the javascript function “openWindow()” to open the page in a new window. When we close the seeded page by clicking seeded page window using the Window-close button and then perform any event on the custom page, we get the Stale Data error as given below.
    Error: Stale Data
    The requested page contains stale data. This error could have been caused through the use of the browser's navigation buttons (the browser Back button, for example).
    Cause:
    The number of displayed records, 2, exceeds the actual number of records, 1, in view object OwqAM.IKNCICOWQDetailVO1. Some of the displayed records may have been deleted.
    Here is the part of code we have tried.
    String destination = "/OA_HTML/RF.jsp?function_id="+Func_Id+"&"+"resp_id="+Resp_id+"&"+"resp_appl_id="+Application_id+"&security_group_id=0&lang_code=US";
    String testDest = "javascript:openWindow(top,'"+destination+"',null,{width:750, height:550},false,'document',null);void(0);";
    OABodyBean bodyBean = (OABodyBean)pageContext.getRootWebBean();
    bodyBean.setOnLoad(testDest);
    Also this issue is encountered only when we open an OAF page in a new window. We also have a functionality where a JSP page is opened on similar lines, but above said navigations do not result in the same error.
    If anyone has come across such a issue and have a resolution, please let me know. Any pointers would be of great help.
    Thanks,
    Mrugesh

    Hi,
    We had tried passing RetainAM = Y and then bouncing apache. Still we were getting the same error.
    We are not facing the STALE DATA issue when we invoke JSP page and oracle forms. It is only when we launch a seeded OAF page from our custom OAF page that we are getting this error.
    Regards,
    Mrugesh

  • 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

  • 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.

  • In processFormRequest update a DFF value on the page

        I am currenly working with the customer standard application with the 'new customer page' (ArCreCusPG) and I have extended the main controller for the page (ArCreCusCO) so that I may update a field on the screen based off a user's input elsewhere on the screen and i'm trying to do so in the process form request. So in the extended controller's PFR I am wanting to update the Attribute1 column of the DFF 'AcctSiteFlex' from a 'R' to a 'C' (which on the page is rendered as AcctSiteFlex0). i can see that I am able to update the value in the pageContext but i'm not able to make it so that the change is pushed back out to the screen and overwrite the R with a C.
    In my controller's PFR I am trying:
        super.processFormRequest(pageContext, webBean);
        OADescriptiveFlexBean dfb = (OADescriptiveFlexBean)pgbean.findChildRecursive("AcctSiteFlex"); //get the DFF bean
        OAWebBean dffbean = (OAWebBean)dfb.findChildRecursive("AcctSiteFlex0"); //get the field that applies to the attribute1 column that is being rendered
        OAMessageLovInputBean lovbean = (OAMessageLovInputBean)dffbean; //convert the webean to its correct type of MessageLovInput
        lovbean.setValue(pageContext,"C"); //set the value from what was an R to a C
        System.out.println(lovbean.getValue(pageContext)); //it is now set to C
    HOWEVER the screen is still displaying an R instead of C. I have tried before the super with same results.
    i can access the field directly with and same results apply:
        OAMessageLovInputBean lovbean = (OAMessageLovInputBean)webBean.findChildRecursive("AcctSiteFlex0");
        lovbean.setValue(pageContext,"C");
    I have also tried going to the VO, grabbing the row and using the following and the same issue applies. Value appears to be set but isn't being painted onto the screen
        setAttribute("Attribute1","C");

      I have the super call first (i've also tried the super last just to test but end up with the same result) and i have tried the SetText instead of SetValue. I immediately follow the set calls with a getValue or getText and i see the value I used in the set command (which is the good thing). Also, when I go into the VO for the DFF i see the values i changed using the setValue/Text. I have even gone into the row and executed a setAttribute to try to ensure that the change will display on the screen.
      How do i get the screen to refresh with the correct value that is in the VO? Normally the set commands in the processformrequest would take care of this. Any suggestions?

  • How to add a custom page in WF process?

    Hi,
    I have to add a custom page in a workflow process. The process is a copy of a seeded WF process.
    There are 3-4 seeded pages in the process. Now I want to insert my page in between them.
    Like you ppl know, this is how the seeded process works:
    A function node is present and we can see "HR Activity Type" value in Node Attributes tab. This value will be present in regionMap.xml in PER_TOP/mds. This is how the page's path and node is mapped.
    Similarly if I create a new node, how can I map my custom page. It wont be present in regionMap.xml
    Regards,
    Pradeep .

    Hi Pradeep,
    I know its been a while since you had posted this, but I have a few questions. I am working on something very similar. I have created a custom OAF page that I would like to launch from HR Line Manager Self Service. When I followed your suggestion of "HR Activity Type" = Page, and "HR Activity Type value" = name the AOL registered function, it brings up a blank page for me. Any idea why that might be?
    When the manager clicks the "Action" icon next to the selected employee, it starts the WF and my node is the first one in the WF process. But instead of showing my custom OAF page, it shows a blank page that reads "Create Process". Does it make any difference whether the node is inserted between existing nodes or if its the first one? Did you have to write anything in the processRequest of your CO ? I have not yet added the suggested wfaactivity call in my PFR, but since my page is not displaying in the first page, I figure the PFR logic doesn't matter at this point.
    Can you share the exact values for your node attributes if you don't mind, and if there's anything specific to WF you had added in your PR of the CO?
    Thanks in advance.
    Sameer

  • 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

  • Integrating Custom page with Standard Page

    Hi
    My Doubt is,
    i m working on iRec Module.
    i m integrating Custom page with Standard Page , Is it will affect the Background running Workflow.
    Thanx

    Hi 781261,
    It seems you are familiar with OTN forums, based on your profile.
    165 posts, 50+ questions and 15 unresolved.
    I hope you know forum etiquettes(you can refer http://forums.oracle.com/forums/ann.jspa?annID=914).
    Close your previous threads if they are answered/you got out of the issue yourself.
    One of your unclosed threads is:
    Re: Can we Fire PPR on DFF?
    regards,
    Anand

  • Getting error on include jtfdnbartop.jsp in custom page

    We are implementing Oracle iSupport 11.5.10
    We have a business requirement for which we require to replace seeded "Item Instances" page (ibuSearchProdMain.jsp), with our own custom page.
    We are pretty clear on customizations (changes) required in Item Instances table, as per business requirements.
    However we are facing issues while rendering standard ('Browse') menu on left hand side.
    We referred some seeded pages which render this standard menu. Also referred some metalink articles.
    Based on that, we need to include standard jsp "jtfdnbartop.jsp" in order to render this menu.
    When we try to include jtfdnbartop.jsp in our custom jsp, we are getting page error. (The error page just says unexpected error occureed..does not specify the details.)
    Are there any pre-requisites before including jtfdnbartop.jsp (like setting pageContext etc.)?
    Any prompt help/suggestion is highly appreciated.
    Thanks

    We are implementing Oracle iSupport 11.5.10
    We have a business requirement for which we require to replace seeded "Item Instances" page (ibuSearchProdMain.jsp), with our own custom page.
    We are pretty clear on customizations (changes) required in Item Instances table, as per business requirements.
    However we are facing issues while rendering standard ('Browse') menu on left hand side.
    We referred some seeded pages which render this standard menu. Also referred some metalink articles.
    Based on that, we need to include standard jsp "jtfdnbartop.jsp" in order to render this menu.
    When we try to include jtfdnbartop.jsp in our custom jsp, we are getting page error. (The error page just says unexpected error occureed..does not specify the details.)
    Are there any pre-requisites before including jtfdnbartop.jsp (like setting pageContext etc.)?
    Any prompt help/suggestion is highly appreciated.
    Thanks

  • 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)

  • Custom page layouts are not getting displayed in ribbon

    Hi,
    I have created a custom page layout under welcome category. This is getting displayed in pages library while creating a page and also in page layout option from site settings which is fine. But when a page is in edit mode if we click page->page layouts
    from ribbon, all the default page layouts are getting displayed except my custom page layout.
    Please advise.
    Regards,
    Chaitanya.

    you have a subsite in a site collection •the publishing feature is activated in the subsite, but not in the site collection •you want to edit/add page layouts on the site collection level, to be used within your subsite •when you open the site collection
    in SharePoint Designer, you can't see Page Layouts in the Site Objects panel You now have 2 options: you can either activate the publishing feature in the site collection (and the Page Layouts link comes back), or you can use the All Files link and browse
    to the master pages and page layouts library (_catalogs > masterpage.) Either option will do, unless you really don't want the publishing feature in the site collection.
    To fix the issue go to Site Actions -> Site Settings in the upper left corner.
    Under "Site Collection Administration" click on "Site Collection Features".
    Look for "SharePoint Server Publishing Infrastructure" and activate it. It might take a moment to load.
    Next return to "Site Settings" and click on "Manage Site Features"
    Look for "SharePoint Server Publishing" and activate it. It might take a moment to load.
    If this helped you resolve your issue, please mark it Answered

  • Z3200 won't print to custom page size

    Hello,
    I've created a banner that is 23"w x 82"h (in CorelDraw Suite 4).  The page setup of the Corel file is 23" w x 82"h.  I've been trying to print it on the z3200 designjet, but have had no luck.  I created several custom page sizes (23" x 82", 24" x 85", 24" x 82") using both the "Printer Properties" dialogue within CorelDraw as well as adding a "Form" in the "Print Server Properties", none of them work.  I've set the correct paper (24" wide HP Bright White Bond, feeding from the roller) on  the actual printer itself, and in the Printer Properties.
    I've played around with all of the different settings that I can and sometimes see the following error message:
    [1/1]Paper size selected (width:23.00 inches, height: 82.00 inches) is larger than loaded paper (width: 24 inches).  Please verify your printer setup.
    When the page prints, it is resizing the content to be 8.5" wide.
    I don't know what I'm missing.  Any advice would be greatly appreciated!
    Thank you in advance,
    Karen )

    I'm having the same problem here in China as well; and I've talked to the tech support in my region and no help. Called the province HP tech rep and he has no clue at all.
    Does any Tech/Eng here could help us? Otherwise there's no reason for me to use you guys machine anymore...

  • 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

  • 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

  • Passing value of View Attribute from standard page to 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 whose value will depend on the dynamic selection by user. So how to get the currently executed value from VO.
    For ex: Vendor Id , contact id and site Id all are to be fetched which are present in three different VOs. When user select particular vendor, contact and site these values will change accordind to selection.
    Here do I need to extend the controller and application module of the standard page or it can be done by passing parameters in destination URI of submit button.
    I tried using parameters in destination URI of submit button as {VO.ViewAttributeName} and printing in custom page but it was printing " {VO.ViewAttributeName}" as it is.
    Please help..
    Thanks in advance.
    Edited by: Kittu on Nov 18, 2010 1:05 PM

    Hi Meher,
    I tried doing it by destination uri but it was not taking the value.
    I tried CO extension with the following code in my extended CO :
    public class ExtendedByrCntDirCO extends ByrCntctDirCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    /* I WANT TO CREATE TEH SUBMIT BUTTON PROGRAMATICALLY */
    OASubmitButtonBean oasb= (OASubmitButtonBean)pageContext.getWebBeanFactory().createWebBean(pageContext,"BUTTON_SUBMIT");
    oasb.setID("SubmitBtn");
    oasb.setUINodeName("SubmitBtn");
    oasb.setEvent("xxSubmitButton");
    oasb.setText("Submit");
    webBean.addIndexedChild(oasb);
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String url = "OA.jsp?page=/oracle/apps/aeap/Vendors/webui/VendorContactsPG";
    OAApplicationModule am =
    (OAApplicationModule)pageContext.getApplicationModule(webBean);
    OAViewObject VendorsVO = (OAViewObject)am.findViewObject("VendorsVO1"); // To retrive the attribute of a particular VO
    Number VendorId = (Number)VendorsVO.getCurrentRow().getAttribute("VendorId"); *// But here its showing null pointer exception*
    HashMap params = new HashMap(1);
    params.put("VendorId", VendorId);
    String strEvent= pageContext.getParameter(EVENT_PARAM) ;
    if ( strEvent.equals("xxSubmitButton"))
    pageContext.setForwardURL(url,
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO,
    OAWebBeanConstants.IGNORE_MESSAGES);
    So how can I retrive the value from VO . Is there any another way . Plz help...
    Edited by: Kittu on Nov 19, 2010 12:46 PM

Maybe you are looking for

  • How do I get my macbook to sleep?

    I have a macbook pro 13" (late 2009) model with OSX Lion. I set the energy save preferences to go to sleep after 10 minutes when on battery power. But it doesn't go to sleep. The screen will go off, but the machine keeps running until the battery is

  • What is flashbridge wrapper cross platform?

    I am trying to download an updated version of Adobe Flash Player and I can't complete the download until I close flashbridge wrapper cross platform but I don't know what this is.  I don't see it as being open.  Is it known as some other name??? Thank

  • Adobe premiere Elements does not find my Sony HDR-CX160

    When I try to use my Hi-DEF Sony HDR-CX160 video camera,  Adobe premiere Elements 10 does not "find" the camera.  Why not? Dan Eller

  • Can't sync photos taken on IPhone to computer!

    If I take pictures with my IPhone and they are kept in the camera roll, shouldn't I be able to sync them to my pc?? as soon as I connect the phone to the computer it CRASHES! it will just keep rebooting untill i delete the pics from the camera roll!

  • Client specific status profile

    Hi, we have a requirement from client: 1. we have user exit which create the insp lot baise on the lot qty for eg if lot qty is 2000 it will create full testing and after 5 sample it will automaticaly create a lot for reduce lot . Now this is done in