Creating Templates with API

Hi,
I want to create a template with PL/SQL. This is a basic tamplate, the only thing I need is to create it and then the user access it to customize it.
I have viewed WWW_UI_TEMPLATE API, but it only has procedures that show the page of creation like "SHOW_STRUCTURED_CREATE", but doesn't has a procedure that create the template automatically.
Does somebody know any api that do it for me, or any another way to do it ?
Thanks a lot,
Hengel Zambrano.

I've created a responsibility with the fnd_responsibility_pkg.insert_row. The API runs ok, and I can even see the new responsibility in the FND_RESPONSIBILITY table.
But the problem is, I can't see it in oracle apps using forms (that is, can't see in the Define Responsibility window and can't even assign it to a user). What could I be doing wrong?This forms select values from FND_RESPONSIBILITY_VL (which select from FND_RESPONSIBILITY_TL and FND_RESPONSIBILITY tables). So, did you verify if you have this responsibility inserted to FND_RESPONSIBILITY_TL table?
Can you select the responsibility from RESPONSIBILITY_VL?

Similar Messages

  • OIM 11g create user with API - double resources

    Hello.
    We have a custom web client for creating a user in OIM. When we create a user with the OOTB web app (formerly xlWebApp), it creates the user and the Access Policies work correctly to give the user one of each resource.
    When we create the user with the API from our custom web app, it tries to assign 2 of each resource to the new user. Has anyone seen this behavior before? Thank you.

    Bump Thanks.

  • Creating Responsibilities with API

    Hello, I've created a responsibility with the fnd_responsibility_pkg.insert_row. The API runs ok, and I can even see the new responsibility in the FND_RESPONSIBILITY table.
    But the problem is, I can't see it in oracle apps using forms (that is, can't see in the Define Responsibility window and can't even assign it to a user). What could I be doing wrong?
    Here is my API sample
    ================
    declare
    v_rowid varchar2(500);
    v_web_host_name varchar2(500);
    v_web_agent_name varchar2(500);
    v_version varchar2(500);
    v_responsibility_id number;
    -- some variables
    v_resp_name varchar2(100) := 'Iggy GL Mega User';
    v_application varchar2(100) := 'General Ledger';
    v_resp_key varchar2(100) := 'OANDO_GL_MEGA_B';
    v_menu_name varchar2(100) := 'GL_SUPERUSER';
    v_data_group varchar2(100) := 'Standard';
    v_req_group varchar2(100) := 'GL Concurrent Program Group';
    -- ids and other crap used by the API
    v_application_id number;
    v_data_group_id number;
    v_menu_id number;
    v_request_group_id number;
    begin
    -- get application_id
    select application_id into v_application_id
    from fnd_application_vl where application_name = v_application;
    -- get data group id
    select data_group_id into v_data_group_id
    from fnd_data_groups where data_group_name = v_data_group;
    -- get the menu_id
    select menu_id into v_menu_id
    from fnd_menus where menu_name = v_menu_name;
    -- get the request_group_id
    select request_group_id into v_request_group_id
    from fnd_request_groups where request_group_name = v_req_group;
    -- get current responsibility_id
    select FND_RESPONSIBILITY_S.NEXTVAL into v_responsibility_id from DUAL;
    -- run API
    fnd_responsibility_pkg.insert_row(
    -- out params
    x_rowid => v_rowid,
    -- in params
         x_responsibility_id => v_responsibility_id,
    x_application_id => v_application_id,
    x_web_host_name => v_web_host_name,
    x_web_agent_name => v_web_agent_name,
    x_data_group_application_id => v_application_id,
    x_data_group_id => v_data_group_id,
    x_menu_id => v_menu_id,
    x_start_date => to_date('01-JAN-1951'),
    x_end_date => null,
    x_group_application_id => v_application_id,
    x_request_group_id => v_request_group_id,
    x_version => v_version,
    x_responsibility_key => v_resp_key,
    x_responsibility_name => v_resp_name,
    x_description => '',
    x_creation_date => sysdate,
    x_created_by => -1,
    x_last_update_date => sysdate,
    x_last_updated_by => -1,
    x_last_update_login => 0
    exception
    when others then
    dbms_output.put_line('failed to add resp' || sqlerrm);
    end;

    I've created a responsibility with the fnd_responsibility_pkg.insert_row. The API runs ok, and I can even see the new responsibility in the FND_RESPONSIBILITY table.
    But the problem is, I can't see it in oracle apps using forms (that is, can't see in the Define Responsibility window and can't even assign it to a user). What could I be doing wrong?This forms select values from FND_RESPONSIBILITY_VL (which select from FND_RESPONSIBILITY_TL and FND_RESPONSIBILITY tables). So, did you verify if you have this responsibility inserted to FND_RESPONSIBILITY_TL table?
    Can you select the responsibility from RESPONSIBILITY_VL?

  • Creating snapshops with API using Forms 5.0

    We're trying to create snapshots on an Olite database using the
    API. We've problems below are not yet solved:
    1. It's impossible to create complex snapshots. A complex
    snapshot uses a union or a join.
    2. It's impossible to create a snapshot for a view.
    3. It's impossible to create a snapshot that contains single
    quotes. For example: The snapshot "select 'A' from dual" can't
    be created.
    null

    We're trying to create snapshots on an Olite database using the
    API. We've problems below are not yet solved:
    1. It's impossible to create complex snapshots. A complex
    snapshot uses a union or a join.
    2. It's impossible to create a snapshot for a view.
    3. It's impossible to create a snapshot that contains single
    quotes. For example: The snapshot "select 'A' from dual" can't
    be created.
    null

  • Create Template with Tabs

    hi,
    How Can i create a Appliaction template and reagion template .
    Thanks
    Manoj

    HI Maxicosi,
    I'll send you some reading material for all of this - in chapter 7 I go thru the actual configuration for dashboards. Most of your questions should be answered or at least some ideas on these items will be offered.
    I'll use the same email address.
    thanks, Pete

  • Error while creating template for ITSmobile

    Hello,
    I have created internet services with theme 99. Now when i try to create template with following, i get an error,
    Program Name : name of Z program
    Screen Number : 2000
    Generating style : MOBILE mobile devices
    When i press Save, i get an error message,
    Template Generator: Template ITSGENMOBILE 99 HTML/BEGIN missing
    Message no. ITS_GENERATE_TEMPL101
    Any idea, what kind of error is this?
    Regards,,,
    Sunil Joyous

    Hello,
    you have to publish the ITS-Service ITSGENMOBILE.
    Regards,
    Denis

  • How to disabled the activation of deployed Test VMs from templates with SCVMM 2012 R2

    Hello,
    I have created templates with key for deploying windows 8 VMs,But i wants do not activate these VMs as it is just a test VM.
    Is it possible through SCVMM to deploy VM with key without activation ?
    Thanks
    RICHA KM

    Thanks for the reply.
    My network architecture is exactly like the one described on your paper, with 2 differences:
    1. I only have one host in the Production group and one host in the Gateway group
    2. The first host has one physical NIC, the second host has 2 NICs, one internal and one with an Internet (routable) IP
    After applying the logical switches on the hosts, I lost Internet connectivity on the gateway host (I have no idea why there is no logical Gateway Switch !!!). VMM completed the jobs with no error.
    Any thoughts?

  • I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    I am changing from Word to Pages. I have created my custom template with all my styles etc and that is what comes up when I go for a New Document. Fine. How do I get it to use the same Custom Template when I use Pages to open a Word document?

    The template is a document in itself, it is not applied to an existing document whether it is a Pages document or a Word document converted to a Pages document.
    You would need to either copy and paste content, using existing styles, or apply the styles to the converted Word document.
    You can Import the Styles from an existing document and those imported Styles can be used to override the current document's styles:
    Menu > Format > Import Styles
    The process is simplified if the styles use the same names, otherwise you will need to delete the style you don't want and replace it with the one that you do want when asked, then the substitution is pretty straightforward.
    Peter

  • Need help with creating template. Changes are not going through to index.html page

    Hi all,
    I have an issue with my template that I am creating and also a question about creating template Regions (Repeating and Editable).
    Somehow my changes to my index.dwt are not changing my index.html page.
    Also my other question is: For my top navigation bar and left navigation bar links, do I need to select and define each individual button or link as Repeating/Editable Region? or can I just select the whole navigation bar (the one on the top) etc...
    Below are my steps for creating my template...I am kinda fairly new to using DW and this is my first attempt to making a template following the DW tutorial CD that came with DW CS3.
    I appreciate any help with this...regards, Dano
    -Open my index.html file
    -File/save as template
    -Save
    -update links - yes
    -Select Repeating and Editable Regions (I selected the whole top navigation bar and selected Repeating Region and Editable Region, same with the left side navigation links)
    -File close all
    -Open the index.dwt
    -Save as and selected the index.html and chose to overide it..
    When I make changes to my index.dwt it is not changing the index.html
    I feel that I am missing some important steps here.....
    Website address
    www.defenseproshop.com

    Figured out

  • Trying to create a template with adjustable text fields.

    I need to creat a form or template with adjustable text and image fields.  I need to have a background template for multiple pages that when I make a change to the template it make the changes to all pages, like the master page of indesign.  I also need to have text and image fields that are specific to each page but the dimensions and placement are controled by the template,but the information inside is page spacific.  What program should I use and anyone know a tutorial for help?

    What you want would require elaborate programming or dealing with variables in Framemaker or InDesign (Server) to dynamically generate the output upon request. You can of course get part of the features using normal variables in ID e.g. to pull linked images based on some parameters, but generally your request sounds too complex to deal with all scenarios.
    Mylenium

  • Is it possible to create DVD Templates with Motion for burning Blue Ray DVDs from Final Cut Pro X?

    Is it possible to create DVD Templates with Motion for burning Blue Ray DVDs from Final Cut Pro X?

    As far as I know, motion templates can only be used with DVD Studio Pro. FCP X only lets you add a background image to the DVD menu.

  • How to create a web template with company logo

    how to create a web template with company logo . can any one help me with the steps. or any notes. thnaks in advance .
    2. i have 25000 articles and client want to have a selection feild to see top article ex:50,10,20, 100, 1000 etc . same for bottom articles . plz let me know how to do it . thanks for replay . i am new bw so plz .
    thanks to you all

    Hi
    1) Please read
    http://help.sap.com/saphelp_nw04/helpdata/en/4a/c8353c51aab32be10000000a114084/frameset.htm
    2) Create a condition in the Query Designer: Use a formula variable
    See http://help.sap.com/saphelp_nw04/helpdata/en/73/702e39074dc93de10000000a114084/frameset.htm
    Heike

  • Creating template from assembly with whitespace in image name doesn't work

    Does there exist a Bug Tracker?
    Given is the following:
    A test .ova describing a simple VM.
    1. this .ova is imported as assembly and successfully unpacked.
    2. we have unpacked following files:
    - "test vm-disk1.vmdk" (notice the whitespace in filename!)
    - "test vm.ovf"
    3. assembly is shown in web gui
    4. create template from this assembly
    5. webgui shows progress but the process will never stop. vbox-img is using 100% cpu time, and no .img in VirtualDisk directory is created.
    Workaround:
    Avoid whitespace in .vmdk filenames and reference them correctly in .ovf.
    This is OVM 3.0.3 with latest patches.

    913518 wrote:
    5. webgui shows progress but the process will never stop. vbox-img is using 100% cpu time, and no .img in VirtualDisk directory is created.Please open an SR for this so that a bug can be logged.

  • Creating a Blog Template with Current BC interface

    I created a website using Muse. I upgraded to the web commerce so that I could have the added features, blog, ecommerce, etc.
    Now I'd like to add a blog (I came from word press) and upload a custom template (with a simple header and footer). This website would be www.mywebsite.com/blog. Where can I find this information? All of the online documentation refers to an old bc interface (http://kb.worldsecuresystems.com/753/bc_753.html#main_Customizing__Blog_Layouts?bc-partner). It took me two hours, I searched the deep ends of the Internet, You Tube, and through every menu in the current bc  interface until I realized this. The time I saved using Muse was wiped out looking for this information.
    All I want to do is add a custom template and post a few blogs. Is there documentation that explains this step-by-step with the current interface? Any help would be appreciated.

    Still the same way pretty much but you can view here:
    http://helpx.adobe.com/business-catalyst/using/add-blog.html
    You got all this: http://forums.adobe.com/community/business_catalyst/documents
    Which is on the overview page of these forums. And in there are links to 3rd party resources too.

  • Basic question, how to create rtf template with a given xml file

    Hello guys
    I am new to BI publisher and I am learning how to create rtf templates using given xml fiel definitions by following the bi publisher guide
    The steps I am following is:
    1, create template using template builders, which is downloaded into MS words.
    2, In the empty template, map the xml columns with template field using BI publisher tag
    3, upload the template to BI Publisher as a layout.
    That's all I can understand.
    My question is:
    1,in which above step do I import XML file into template builder (if not bi publisher), how to do so?
    2,After template is created, how to associate this template layout with existing reports in BI Publisher, or is it necessary at all?
    3,In the template content in MS Word template builder, what should I enter other than BI publisher tags for mapping XML field to desired template field
    Or, if my understand of this process is entirely wrong, what's the right process of creating rtf template with a given XML file definition
    Thanks

    If you have a BI Publisher desktop installed, have a look a the demos,.. should answer most of your basic questions.
    (Windows) Start->Programs->Oracle BI Publisher Desktop->Demos
    Invoice Demo - good one for those with E-Business Suite
    Report Demo - Sample using BI Publisher

Maybe you are looking for

  • How can I switch money to another iTunes account ?

    I Dont know my security questions and the rescue email . So can I switch the money over to a different account ?

  • Bug in tree view of synonyms owned by other user

    Hi, I'm connecting into Oracle 10.2.0.3 whith SQL Developer 1.5.3.0.53 and user SYS as SYSDBA. When I browse tree view of synonyms of another user, the synonyms that include database link don't display !!! If I connect whith that user the synonyms ar

  • Ora Errors in Alert Log:ORA-27508, ORA-27507, ORA-27300, ORA-27301

    Hi All, I have a Solaris 5.9 machine with Oracle 9.2.0 installed on it. But the connectivity to the database is lost intermittently. I am getting the below mentioned message in the Alert Log: ORA-27508: IPC error sending a message ORA-27507: IPC erro

  • Dropped Frames in the Xsan environment

    Hello Everyone, I have just setup a SAN network and have been experiencing dropped frames when capturing HD Pro Res 422 on my two client computer at the same time. I have been successful capturing on one computer at a time and playing the same captur

  • Nested SQL Queries

    Hi, I have a question for hierarchical queries.Suppose we have three tables manufacturer,brand and product.I wish to generate the XML for this query.The query I gave is as follows select a.manid ,b.brandid,c.prodid from manufacturer a ,brand b ,produ