Customized "create item" page

I have a issue to create a item in a custom item type.
this item type is complex, and i think it need a customized create item page.
but i can not find document for this.
another way is write a web app and do this job with portal's plsql api.
still a problem: how can I set context?
wwctx_api.set_context() need both user and password, how do i get that password?
any sugguestion?

Hi Peter,
If you want to access specific Portal resources in PL/SQL from any client other than your browser, you will need to use the API function wwctx_api.set_context(). Examples are accessing WWSBR_ALL_ITEMS when connected to the database with SQL*PLUS. There is no need to use this function if you are running e.g. a PL/SQL item from your browser. The context is automatically set.
The function wwctx_api.set_context() indeed requires the SSO password. If you really need this functionality without supplying a password, you can use the unpublished API call wwctx_api_private.set_context(). Notice however that this one is unpublished and therefore unsupported to be used. Oracle can change this API without further notice.
Hope this helps,
Erik

Similar Messages

  • Question about "Create Item" page

    Im working on trying to Insert a new item into a Self-Service Web Applications page.
    As part of my research, I have been looking at this doc:
    Oracle® Application Framework
    Personalization Guide
    Release 11i
    Part No. B25439-02
    From:
    http://download.oracle.com/docs/cd/B25516_18/current/acrobat/115fwkpg.pdf
    The document does not seem to go into much detail about how to Insert an item on a page. I also checked the "OA Component Reference" document.
    I checked the online help via "Create Item Page" - e.g.
    http://oursite/pls/PSAT/fndgfm/fnd_help.get/US/FND/CUST_PERSADMIN_CREATEITEM.HTM
    Again, that doesn't give a lot of information.
    As part of my testing / research, I would like to add a new Item to a page, and have the value of the item to be taken from an existing SQL Query.
    For example, in iProcurement, when viewing a Requisition Details, e.g. via this page:
    http://oursite/OA_HTML/OA.jsp?page=/oracle/apps/icx/por/reqmgmt/webui/ReqDetailsPG&reqHeaderId={!!BX6R96mkQOcfNZ60BeTaJQ}&retainAM=Y&addBreadCrumb=Y&_ti=245778094&PersonalizationParam=PersonalizationParamAdmin&oapc=12&oas=mYF7zP1VI7xoAWcUQHTEkQ..
    I would like to add in the "NOTE_TO_AUTHORIZER" field from the "po.po_requisition_headers_all" table.
    From looking at the "About this Page" link, I can see there is a View Object called "oracle.apps.icx.por.reqmgmt.server.ReqHeaderVO".
    This ViewObject contains an Attribute called "NoteToAuthorizer" with a Type of "java.lang.String".
    When I go to the "Create Item" page, and choose and Item Style of "Message Styled Text" there seems to be no way to say which database field you want to include.
    From looking at a previous customisation that a developer did, I can see you can pull in an Attribute via the "View Attribute" field, and link in the VO via the "View Instance" field.
    When inserting database values into a Self-Service page, can we only insert Attributes, and not any of the other regular fields from View Objects?
    Apologies for the rambling essay.
    Any advice much appreciated.
    Thanks

    Hi Jimr,
    In OAF sql queries are represented by View Objects and columns of query will be represented by View Attribute.
    For every column in query there will be corresponding view attribute name, so while adding any item on self service page which represents data from database you need to specify view instance name and view attribute name, which will specify which column and from which query it will show the data.
    *"When I go to the "Create Item" page, I can't work out how to tell Oracle that the Item I want to create should be the "NoteToAuthorizer" field from the "ReqHeaderVO" ViewObject."* so ReqHeaderVO1 will be the instance(by default OAF generates instance like this) and "NoteToAuthorizer" can be mentioned in View Attribute name property.
    Let me know if you need further clarification.
    Regards,
    Reetesh Sharma

  • Custom List Item Pages in Search Result

    Hi there,
    We are using SharePoint 2013 and have built a custom web part that displays a series of items from a list. When you click on one of the items, it takes you to a custom page that displays the selected list item, styled with our company branding. This works
    perfectly. However when a user performs a search, the search results includes the link to the SharePoint list item, and not the custom branded page. We'd like to have the search results include this custom page, instead of the standard SharePoint dispform.aspx
    page. Is there anyway to exclude the dispform.aspx and include our CustomItem.aspx in this search results? If so, how is this possible?
    For instance, a standard search returns the result:
    https://mydomain.com/Lists/Announcements/DispForm.aspx?ID=23
    Our custom branded page, which we want included in Search results is this:
    https://mydomain.com/AnnouncementsDetail.aspx?ID=23
    Thanks in advance!
    cflbasser

    Does you custom page have a managed property associated with its location, say 'myURL'?  I think you should be able to achieve this by customizing one of the Search Display Templates.  There are a couple of things involved here.  For Result
    Display rendering, Item_Default.html display template will have a "ctx.RenderBody(ctx)" call, in this case calling Item_CommonItem_Body.html template to display each item. 
    Take a look through Item_CommonItem_Body.html and there should be a place where instead of the OOTB managed property like Path or Url, you could put in your custom managed property to be displayed.  It's best to not update the default display templates
    but create custom ones and use custom result types with them.  In this scenario, you are not touching what's being indexed, but simply changing the UI layer.
    Another idea would be to use CEWS (Content Enrichment Web callout) and simply take the existing managed property responsible for printing out the link (like URL or Path), re-write it using some regex or similar logic and output it to the existing managed
    property or a new one.  You could have a trigger to only do this in specific scenarios to narrow this down, such as only to fire if an input path prefix matches a condition. 
    I would recommend doing this with Display Templates if possible, since introducing CEWS can have a performance impact on crawls, depending on how many items will need to be touched.

  • Creating a custom Add Item form to a list

    I am trying to create a custom New Item form to a list in SharePoint 2013.
    I have read a few tutorials and all of them seem to have the same problem.
    I can create an application page for my custom New Item form without an issue. However SharePoint always adds in the Add Item table on render to the div id="main''. Therefore the only way I can think to really edit this is via JavaScript.
    Is there a better way? Can I manually add the textbox's and associate them with a field-  and disable SharePoitn from rendering this for me?

    Hi,
    According to your description, you might create a custom NewForm page for an existing list.
    Using JavaScript to customize the OOTB NewForm.aspx page would be an option, if you want to create a totally new one, Brij's suggestion would be helpful.
    To specify your custom form as the NewForm page of that list, we can achieve it programmatically using SharePoint Object Model.
    The link below with code demo about
    How To Change the Default EditForm, NewForm and DispForm would
    provide more information:
    http://blog.qumsieh.ca/2009/05/15/how-to-change-the-default-editform-newform-and-dispform/
    A thread with similar need for your reference:
    https://social.technet.microsoft.com/Forums/en-US/fb18812f-a543-4139-bd0a-331e69e0033d/customizing-new-item-form-for-lists?forum=sharepointdevelopmentlegacy
    Thanks 
    Patrick Liang
    TechNet Community Support

  • A method to create completely customized photo book page templates from scratch in Lightroom 5

    I was able to successfully create completely customized Lightroom 5 page templates (including altering the number of, positions, and sizes of pictures) by making edits to the templatePages.lua file(s) in the Lightroom directory tree.  I have never heard of the LUA file format before, but it is ASCII and looks somewhat like XML, so it was fairly easy to decipher.  Here is a high-level description of how I did it.  This applies to Lightroom 5 on Windows 7.  If this doesn't make any sense to you, then don't try it - you're likely in over your head.  Although my description is brief and lacking in detail, it should enable someone who is capable of handling this to figure it out with a little of careful trial and error.  Do this at your own risk - if you screw-up your installation, catalog, or computer, it's your own fault.  It all worked great for me.
    First, open the "<lightroom 5 install directory>\Templates\Layout Templates" folder.  Then navigate to the template set that contains the template you would like to use as a starting point for the new template.  For example, "12x12-blurb\clean12x12".  Make a back-up copy of the templatePages.lua file in case you mess something up and want to revert.
    There will be a bunch of .jpg files in this directory that each contain a preview image of the layout that carries the same name as the .jpg file.  Find the one that you would like to use as a starting point.  Take note of the name of the file, which is probably something similar to "page_26_preview.jpg".   Duplicate the file and rename it to something unique, such as "dummy_preview.jpg".  It's just temporary, so it doesn't matter what name you pick, provided it is a legal file name with no spaces.
    Next, open the templatePages.lua file in a text editor.  I suggest using one that can automatically recognize and format ULA (such as Notepad++, which is open source and free to use).  Then search the file for the unique portion of the file name you took note of earlier, such as "page_26".  It will point you to a section in the LUA file that describes that particular template.  Carefully copy that entire section, including a balanced number of brackets (starting with the two brackets and commas before "children" and ending with the one bracket and comma after the "title" line.  Paste the copied text into the end of the file on a new line immediately following the bracket and comma after the "title" field for the last page template section (right near the end of the file).  Change the "previewName" field to the name of the preview file copy that you created ("dummy_preview.jpg" for me) and the "name" field to the name of the new template you're creating ("dummy" for me, since it is just temporary).  Next change at least one of the hex characters in the "pageID" field such that the new template will have a unique page identifier.
    Now you can make edits to the photo and text fields included in the new section, using other templates in the template file as examples.  "x" and "y" fields are coordinates (in pixels) for the bottom-left corner of the picture or text field, "height" and "width" are the width of the field in pixels.  The fields should be mostly self-explanatory, but make sure that the "photoindex" fields are filled-in starting from 1 to N, where N is the number of pictures in the template, with no duplicates or gaps.  They do not need to be in order.  Treat the "textIndex" fields similarly for text fields.  If you want to add an additional picture or text field, simply copy the section describing a picture or text field from another template and paste it, carefully, into the new template that you are creating.
    Once you are done, save the file (you may get interference from Windows UAC, in which case save the file elsewhere and the move it back to the correct directory).  Then open Lightroom.  Create a new photobook, and choose the new template for one of the pages, remembering that the preview image will look like the JPG that you copied.  Voila!  If you didn't screw anything up, you should see a page based on your new template.  Then right-click the page and select "Save as custom page", which will cause a fresh preview file to be created for your new template and your template to be copied to the "custom pages" section of the template menu.  The new section you added to the "templatePages.lua" and the "dummy" preview file can now be deleted, since they are no longer needed.  I save them so that I may simply overwrite them the next time I need to create a customized template.
    Enjoy, and please share any clarifications, corrections, or enhancements to my process.

    peter at knowhowpro wrote:
    DHWachs wrote:
    This post was great!  Thank you so much.  But I am hoping you know one more thing related to this.  In the "transform" section of the definition (where the x/y coordinates are set along with height and width) there is an option called "angle".  I was hoping that changing this value would allow me to offset the angle of the picture.  However, if I put any value there other than 0 the template becomes unusable.
    Do you happen to know what this option does?
    I haven't looked into the files, so this is just a guess based on how some graphic applications work. It's common to think of rotating a shape as pivoting around a center point, but It's possible that the file sets a value for the rotation point not at the center. In some graphics applications, you can set a shape's pivot at any corner or in the middle of any side, of the rectangle that contains the whole shape.
    So, your value may be rotating the shape around a pivot that moves the shape into some area that upsets the behavior of other shapes. Just a thought.
    HTH
    Regards,
    Peter
    Peter Gold
    KnowHow ProServices
    Peter's point is a good one.  I would also assume that the "angle" property allows you to rotate an image, but I haven't tried it myself.  One thing to investigate - are there any page templates included in LR that have image placeholders that are at an angle (I don't recall any, off-hand)?  If so, looking at the associated .lua file could provide insight into how an angled image placeholder should be described.

  • I have Pages 09.  I have created custom templates and want to delete them.  How do I delete a template I have created in Pages 09?

    I have Pages 09.  I have created custom templates and want to delete them.  How do I delete a template I have created in Pages 09?

    Pages stores those you created & saved as templates in (your account) > Library > Application Support > iWork > Pages > Templates > My Templates. The door to the user's Library is hidden in Lion but it is easy to open. In Finder, hold down the Option key while clicking on the Go menu & your users Library will appear about halfway down the list.

  • Create items by vendor and customer on Foreign Currency Valuation

    When we execute Foreign Currency Valuation, we would like to create items in a document by vendor and customer.
    Can we handle it a 'Corp.group-vendors' flag(Evaluate Accounts According to Group Definition) ?
    Can you help with this issue please?
    Thanks,
    Sato.Ishikawa

    HI,
    With the report SAPF100, you will be able to valuate foreign currencies
    from customer and vendor accounts.
    It is not possible to post a foreign currency valuation directly to a
    vendor or customer account. This is only possible for g/l accounts.
    You can refer to the following workarounds:
    From the technical point of view you can use FB01 to post such a posting
    You have to enter a exchange rate manually in the first screen. In this
    case this exchange rate is used instead of the exhange rate of table
    TCURR (transaction OB08).
    You have to choose a exchange rate which transfer the amount in local
    currency to 0,00 in foreign currency.Another possibility is to use
    RFBIBL00 in transfer type direct input for FB01.An amount of 0 in
    foreign currency should work.
    The system is designed not to post documents with 0 amount in foreign
    currency to vendors/customers.
    Reg
    Madhu M

  • Create Item with no Page Regions, but with P0 Region Issue

    Hi,
    Suppose you have a region on Page 0 called: P0_REGION. You then create a page, P100, with no region. If you try to create a Page Item you get the following message:
    Unable to Create Page Item
    You must create at least one region before you can create a page item.
    Shouldn't we be allowed to create a page item and apply it to the P0 region? I didn't file this as a bug since I didn't know if this is what should happen.
    Thank you,
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

    Hi Roel,
    Not exactly. I have a common region on Page 0 which contains buttons, jQuery Tabs etc. On each Page, P100 for example, I put items into that region for display purposes. I don't want to create these at P0 Items since they will be run for each page (or I'll have to put a lot of conditions on them).
    Martin Giffy D'Souza
    [http://apex-smb.blogspot.com/]

  • Create Item button on personalization page.

    Hi,
    I have Personailze Self Service Defn profile option enabled at site level. (User also set to YES).
    However I don't see create item button on many pages personalization screen, (like HomePage, or some other page).
    And on functional administrator responsibility's any page (like profile page in core, create Item is there).
    Its been checked on other instances that the create item button appears there for the same pages in problem.
    What can be the reason?
    Abdul Wahid

    Hi,
    Talked to Anil enabled "FND: Personalization Seeding Mode / FND_PERSONALIZATION_SEEDING_MODE" personalization link. It worked (even though the documentation says that its only for oracle's internal usage).
    Also related diagnostic story got via other cooleague with deeper cause of the problem and solution.
    Need to set system profiles to change old personalizations - expected?
    Abdul Wahid

  • Create Item button not enabled in Personalization page

    Hi All,
    In one of the OA pages, I clicked "Personalize Page" icon and went to the personalization page. The following columns are not present in that page:
    Create Item
    Update Item
    Delete Item
    So I m not able to create any new items through personalization.
    Let me know if someone has idea abt this.
    Regards,
    Pradeep

    Hey Gyan,
    Thanks.. After changing the profile option I m able to see the create item and update item icons in the personalization page.
    Could you also please tell the impact of changing the profile?
    Thanks,
    Pradeep

  • Not able to fine Create Item column in the Page personalization

    Dear All,
    I am not able to find the "Create Item" column in OA page personalization. Do we need to set any profile options for this?
    Regards,
    Joshna.

    Hope you have set these profile option.
    Personalize Self-Service Defn should also to Yes
    Disable Self-service Personal to No
    FND%Diagon% to yes
    Once you are going for personlization, you would be getting personlize Page link.
    Click personlize page link
    Select Scope
    select complete Radio Button
    select Create Item Icon for a region(table)
    Thanks

  • Create Item column is not appearing in the "Personalize Page"

    Hi All,
    I am working in R12 upgrade project.
    I have to create item(Link) in a table region as per the requirement.
    But that "Create Item" button rather the column is not appearing in that "Personalize Page" when I click on the Personalize Page link of the concerned page.
    Can anyone please suggest Do I have to do any setup or any profile option needs to be enabled.
    Thanks,
    Raja Dutta

    Hi,
    Enable profile 'FND: Personalization Seeding Mode', clear the cache and check if this solves your problem.
    --Sushant                                                                                                                                                                                                                                                           

  • Use a Custom Page Layout When Creating [[new pages]] in Enterprise Wiki

    I have followed a few different blogs and I've been able to create a custom wiki content type and create a new page layout based off of that content type. I've also set my site so that my new layout is the default page layout. This works when creating
    new pages on the site but when i try to create a new wiki page --> [[new page]], I'm still getting the typical blank wiki template. How on earth do i get my page layout to sync with creating a new wiki page?

    Hi,
    For your issue, go to Site Actions > Site Settings > Page layouts and site templates (Under Look and Feel).
    Pages in this site can only use the following layouts: add custom wiki template.
    Select default page layout: choose custom wiki template.
    Besides, here is a blog, you can use as a reference:
    http://blog.henryong.com/2010/06/08/how-to-create-custom-sharepoint-2010-page-layouts-using-sharepoint-designer-2010/
    Best Regards,
    Lisa Chen

  • Create custom web-part page with OOTB page layout using CSOM (Javascript)

    Hi,
    I need to create a custom webpart page with a OOTB page layout (eg. Header 3 column footer) using JSOM.
    I found a link to do this using CSOM: http://spdevlab.com/2013/03/28/creating-wiki-web-part-and-publishing-pages-via-csom-in-sharepoint-2010/
    But here i have to copy the page template from 15 hive and store it in a resource file and I am also getting error as "The request message is too big" and to fix this I need to run a powershell script but I need the code to run in SharePoint online
    also.
    Isn't there a simpler piece of code in which I can enter the name of the page layout(OOTB/Custom) while creating a page in JSOM as we have in SSOM?
    Thanks for the help
    sunny

    Hi,
    According to your post, my understanding is that you want to create a custom web part page layout template.
    There are some articles about how to create the custom web part page layout template, you can refer to them.
    http://www.manageprojectsonsharepoint.com/blog/2011/03/14/creating-your-own-web-part-page-layout-template/
    http://sandeeppawar.blogspot.com/2012/06/create-custom-web-part-page-template.html
    http://doitwithsharepoint.blogspot.com/2011/08/create-web-part-pages-with-custom.html
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Redirect to Pages library after creating item in pages library folder!

    Hi All,
    I'm facing one problem while creating item in publishing pages library.
    Whenever I create an item inside the folder, after creation of item SharePoint redirect me to root level of the library. Its happening in pages library only.
    Does any one face this issue or it's a know SharePoint issue or is there any workaround?
    Thanks
    Shubham

    Hi Shubham,
    I did a test, however I could not reproduce your issue.
    In my testing, I created a folder in the Pages library, then created a page in the folder. After creation, it went to the folder level, not the top level of the library.
    Please check whether you installed some updates for your SharePoint 2010.
    For narrowing down the scope of this issue, please verify the followings:
    Please create a new site at the same site collection, then test again, compare the result.
    Please create a new site collection, test again, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

Maybe you are looking for

  • Problems with install 710 Patch level 15

    Hi, i have installed patchlevel 15 of GUI 710. Istallation was OK. When i check the Installation, with tweak SAP GUI i get two error: File not found: C:\Programme\Java\jre6\lib\ext\VERSION.ini and File not found: C:\Programme\Java\jre6\lib\ext\VCTK.i

  • Calling java function load and stored in database

    Hi , I try to call a java fonction loaded and published in database (Oracle 8.1.7.4ee). this function call an OS command ... the PL/SQL call is completed but de command set in parameters function is not execute ... next is the code : import java.lang

  • Having problems sending sequence from Premiere Pro CS5 to Encore.

    Sequence plays fine in Pr, however when I send it to Encore either by way of a dynamic link or by saving as media then importing into Encore as an assest the audio skips.  Any help appreciated.

  • Unicode and SQLException

    Hi I have a problem with SQLException and a unicode environment ( env was created with Environment::createEnvironment("OCCIUTF16","OCCIUTF16") ): what() from std::exception and getMessage() only give a "0" as message. getUStringMessage() contains the

  • Controlling Iframes with links in parent page (CS4)

    OK, here's what i'm trying to do: I have a number of "calculators" for a home loan company, and I want them to show up in an Iframe (when the corresponding link is clicked) on the page instead of opening in a new window. How does one go about this? H