Template a "Shared Component"

The term "Shared Components" confused me a bit.
Is this true:
When App:A and App:B BOTH use Template X
and I change App:A-Template X --- App:B-Template X is NOT touched.
So a "Template" being a "Shared Component" means H-DB dishes out a COPY of it to requesting App, correct ?
So that each app has its own copy of templates and that they are NOT shared in the sense that changing template in one app effects all apps that use that same template.
Correct ?

Robert - Mostly correct. Shared Components are those that are shared between pages within an application, not between or among applications. A separate concept is the publish/subscribe feature available for some shared component types. When you copy or copy/subscribe to these shared components between applications in the same workspace, the behavior is exactly as you described it. The subscribing application never gets its copy modified unless it "pulls" it or unless the master application "publishes" it. At runtime, every application is self-contained and never accesses any application metadata outside its own definition.
Scott

Similar Messages

  • Generate a Shared Component LIST in XML or JSON format

    Greetings...
    I am using the LIST functionality within the Shared Component area of our application in order to maintain a menu/navigation list. I'm utilizing all of the features of the LIST Shared Component -- links, authorizations, conditions, comments, etc. This list will appear on every page, so I'm putting it on page zero.
    I'd like to get this list in an XML, JSON, or some format so I can manipulate it in javascript to display it. I guess another way to put it is that the template options for a LIST template seem to be very detailed and specific (which is great in general) and I am looking to just get the data out and display it myself.
    I can easily enough write a SQL query to produce the hierarchy proper hierarchy of the list, but I would be circumventing the method ApEx uses to implement all of the conditions and authorizations on the entries. I see there are APIs for both generating the list and also checking conditions, but neither of them are accessible to my custom schema and I wasn't sure if I should even attempt to reproduce them.
    Basically, I'd like to use the built-in functionality of the LIST Shared Component, but use my own display methods.
    Shane.

    http://htmldb.oracle.com/pls/otn/f?p=20297:14

  • 3.0 Shared Component - Report Format - all PDF

    Greetings,
    Details
    I have been working with the REPORTS - REPORT QUERIES section of APEX 3.0
    The testing I have been doing is very simple, but I am running into a bit of a stumper.
    I have created 4 report queries on the EMP table (SELECT * FROM EMP) that all use the same REPORT LAYOUT. The RTF file which is the template is a very simple - show all columns and rows for the EMP table (14 rows).
    I have set each of the 4 report layouts to a different format.
    1 - PDF
    1 - EXCEL
    1 - WORD
    1 - HTML
    I am NOT using the ITEM to dynamically set the format.
    I can TEST each of the reports in the shared component area, and they test OK with a success rate of 75%.
    The EXCEL format does not export correctly. (using Excel 2002 on the client) It is a bit of a mess. (Works in the XML publisher template builder on the client.. so the format is not the issue.)
    More curious is the behavior when I put this application. I have created a LIST of the 4 report formats. All 4 return the PDF format when used.
    To see the Application:
    http://apex.oracle.com/pls/otn/f?p=34096
    Question Summary:
    1 - Has anyone run with and tested the RTF style report layouts out to Excel?
    2 - The approach described usees 4 report queries against 1 layout. Is this a VALID use of the report functionality?
    3 - Why would all the reports try to use PDF when they test in the correct formats?
    Best Regards and Thank You.
    -- Tim

    Tim,
    The Excel output is not strictly XLS, it's actually HTML formatted in a way that Excel understands and through setting the MIME-types we make it open in Excel. I have to try reproducing your specific problem with Excel 2002. If you could send me your RTF layout and the end-result ([email protected]), I can take a look.
    Your approach using 4 different queries with the same layout is perfectly fine. Ideally of course, you would not have to replicate them same query four times, so we are considering a shared query concept for future version of Application Express.
    You specific problem with the output format being PDF at runtime appears to be a bug, I'll investigate further. Meanwhile one work-around would be to use a report region instead. If you're using the same SQL query as the source, you can associate the same report layout (on the report print attributes page). You could also create a "container" page for that report region, that's never actually called by the end user, and then have a button pointing to the URL below for printing. It would then work just like your report queries, only that you now would get the requested format:
    f?p=&APP_ID.:[REPORT PAGE ID]:&SESSION.:FLOW_XMLP_OUTPUT_R[REPORT REGION ID]
    so if your app ID is 34096 and your "container" page e.g. 99, and on page 99 your report region ID would be 1234567890, then use this URL as the button target:
    f?p=&APP_ID.:99:&SESSION.:FLOW_XMLP_OUTPUT_R1234567890
    Hope this helps,
    Marc

  • Error in shared component import within same as well as diff instance.

    Please help me with below issue:
    I am trying to import shared components related to a single page within same instance to diff application.I changed the application_id to target application_id and also set wwv_flow_api.g_id_offset to diff value.
    Still getting following error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-00001: unique constraint (APEX_030200.WWV_FLOW_MENU_TEMP_IDX2) violated <pre>begin begin wwv_flow_api.create_menu_template ( p_id=> 94480251996632657 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_name=>'Breadcrumb Menu', p_before_first=>'', p_current_page_option=>'<a href="#LINK#" class="t20Current">#
    And also tried to import shared components of single page to a application in diff instance.I changed the application_id,workspace_id with target application_id and workspace_id and also set wwv_flow_api.g_id_offset to diff value.
    there also I am getting same error.

    The error seems to be that the template (some breadcrumb template) does exist already. What kind of shared component do you want to copy? Some, like images and templates, can be shared between applications in the same workspace. Thats the main reason why they are named "shared". Also possible would be that this component was created or is using some standard template/theme/menu, that is created during the standard apex installation. Or it was already copied during the workspace installation.
    Edited by: Sven W. on Aug 7, 2012 7:42 PM

  • Shared Component - Lists (Solved)

    Hi All,
    I have created List (Shared Component - Lists).
    Now my List has multiple List Items (List Entries).
    I have created that, but my problem is I want each List Entry to appear on a new line.
    I have used Sidebar Region, Alternative 1 as the template for displaying the list on the Page.
    Hoping for a quick solution from some one.
    Thanks in advance.
    Arif
    Message was edited by:
    Arif

    Thanks Everyone,
    My problem is solved.
    For the List Properties select Vertical Unordered List with Bullets.
    Shared Components > Lists > (Select the List Name).
    Click the Edit List Button and then Select the List Template as Vertical Unordered List with Bullets.
    Regards
    Arif

  • Generated pdf file from shared component missing checkbox

    I have created a report queries under shared component. The output format is pdf. I have created a rtf template. In the template, I have to insert a checkbox. At first it didn't work, then I have added Checkbox shows fine when I preview the report using Microsoft Word (Add-Ins). I have added following two lines in the xdo.cfg file (under C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\Template Builder for Word\config):
    <truetype path="C:\WINDOWS\fonts\wingding.ttf" /> and
    <property name="rtf-checkbox-glyph">Wingdings;0254;0168</property>
    After that, when I view output from word, it shows checkbox correctly. However, when I click Test Report button from Apex, everything looks fine except missing checkbox. It shows ? symbol instead of checkbox symbol. So something must been done in apex server side. Does anyone know how to config in the apex server side to make checkbox show up in the pdf file? Thanks advance.

    You need to setup BI Publisher. Follow the instuctions at http://chandramatta.blogspot.com/2009/10/bi-publisher-how-to-print-check-box-on.html

  • Bind Variables and Shared Component Report Query

    I have a query in a region report which I have replicated to a shared component report query.
    Both queries reference page items as bind variables in the where clause.
    The report region on screen shows the correct results but the report query shows "no data". This is the case when running "Test Query" and "Download XML data" from the shared component report query definition. If I hardcode the variable names I get rows returned, If I use bind variables - and specify the values for these variables I get no data. THe XML file contains the tags for each bind variable I have specified but has no data between the tags. I have Ticked the box to include application and session state but it appears that the bind variables are not being used.
    When I use my report query in the application (URL tied to a button) I get the same problem, the binds are not being passed to the report query.
    Can someone please clarify if this is a bug or not? And if not, how can I get it to work.
    I am using Apex 4.0.2
    Thanks
    Kathryn

    Hi
    To confirm, yes I selected the bind variables. I used these in the report layout, but the xml file has them as empty i.e.
    <P0_START_DATE><P0_START_DATE/> with nothing in between.
    IN the Test Query section, if I put real values in the boxes for the bind variables, I get no data found. If I hardcode the values into the query, I get the data.
    I've repeated the create report query many times and have created a report layout in RTF. I can use the layout with my region - in the print attributes and the layout works with the query but I need to create a PDF using 2 queries - ROWSET1 and ROWSET2. I can generate the XML but the values in the rows are all empty. When I use the layout with a report query instead of the region, I get no data even though I have used the same sql and have selected the bind variables. I was using variables from page items on page zero but have also tried using page items on the current page, the result is the same.
    I need to use a report query and a report layout as I need data from 2 queries in the PDF.
    I looked at your demo - what happens if you add a second sql query to the report query - is there any chance I can look at the back end (developer access?)
    Thanks for your input
    Kathryn

  • Setting a bind variable in a Shared Component Report Query

    I have defined a Shared Component Report Query in APEX using a bind variable similar to below
    Select name, id , ....
    from asset
    where id = :id
    I have also created a Report Region that displays a table where one of the columns contains a value I would like to be a link column that can launch the Report Query and pass its value to the bind parameter :id in the report query. This in turn would generate a pdf report for the details associated with that column. I am having problems setting the :id bind parameter. How do I do this?
    Can anyone help?
    Thanks

    The bind values are set from session state. So if try something like this:
    Select name, id , ....
    from asset
    where id = :P1_ID
    With P1_ID being a page item, for which you set the session state / value before generating the PDF file. So assuming you already have a page with a report and a page item, and that page item is already used in your report, then you could just create a button to download the PDF, make sure the button is a submit button, and create a branch pointing to the report query URL (or in 3.1 use the create button wizard, to do this declaratively.)
    Regards,
    Marc

  • Using bind variables in Shared Component Reports not working

    I've created a report query as a shared component in my APEX application. I'm calling the report on a page via a button. The query behind the report has bind variables for period and entity fields which are both defined on Page 0. I can run the query and return values just fine, but when you run the report from the page via the button, I get no values back. Does anyone know a trick to getting this to work? I've been working in APEX for about a month and I don't have much developer experience so any help is appreciated.
    Regards,
    -Steve

    Rohit,
    Thanks for your response. We are using APEX version 4.2.1.00.08. I do have Session State enabled and have put the required page items in the list. Here is my report query (highlighted lines contain the bind variables):
    SELECT TAX_DIVISION.DIVISION_CODE Division,
    TAX_ENTITY.ENTITY_CODE Entity_Code,
    DECODE(TAX_ADJUSTMENT.CATEGORY_DESC,'Net Income/(Loss)',1,'Permanent Adjustment',2,'Temporary Adjustment',3,4) Category_Desc,
    TAX_ADJUSTMENT.CLASSIFICATION Classification,
    TAX_ADJUSTMENT.ADJUSTMENT_CODE Adjustment_Code,
    SUM(NVL(NVL(TAX_ENTITY_ADJUSTMENT.OVERRIDE_AMT,TAX_ENTITY_ADJUSTMENT.ADJUSTMENT_AMT),0)) Tax_Amount
    FROM TAX_DIVISION,
    TAX_ENTITY,
    TAX_ENTITY_ADJUSTMENT,
    TAX_ADJUSTMENT,
    TAX_PERIOD
    WHERE TAX_DIVISION.DIVISION_ID = TAX_ENTITY.DIVISION_ID
    AND TAX_ENTITY.ENTITY_ID = TAX_ENTITY_ADJUSTMENT.ENTITY_ID
    AND TAX_ENTITY_ADJUSTMENT.ADJUSTMENT_ID = TAX_ADJUSTMENT.ADJUSTMENT_ID
    AND  TAX_ENTITY_ADJUSTMENT.PERIOD_ID = :P0_PERIOD_ID
    AND  TAX_ENTITY_ADJUSTMENT.YEAR_ID = :P0_YEAR_ID
    AND  TAX_ENTITY.DIVISION_ID = :P0_DIVISION_ID
    AND TAX_ADJUSTMENT.ADJUSTMENT_CODE = 'IBIT'
    GROUP BY TAX_DIVISION.DIVISION_CODE ,
    TAX_ENTITY.ENTITY_CODE ,
    DECODE(TAX_ADJUSTMENT.CATEGORY_DESC,'Net Income/(Loss)',1,'Permanent Adjustment',2,'Temporary Adjustment',3,4),
    TAX_ADJUSTMENT.CLASSIFICATION ,
    TAX_ADJUSTMENT.ADJUSTMENT_CODE
    HAVING SUM(NVL(NVL(TAX_ENTITY_ADJUSTMENT.OVERRIDE_AMT,TAX_ENTITY_ADJUSTMENT.ADJUSTMENT_AMT),0)) !=0
    ORDER BY DIVISION_CODE, DECODE(TAX_ADJUSTMENT.CATEGORY_DESC,'Net Income/(Loss)',1,'Permanent Adjustment',2,'Temporary Adjustment',3,4), CLASSIFICATION, ENTITY_CODE, ADJUSTMENT_CODE
    The query returns data when I set the bind variables and test in the report queries screen. When I assign the report query URL to the button in the application and run from there, I get no results.

  • Component/Shared component install failed

    Making a fresh install of CS3 on a new computer, I get the following:  Component Install Failed, and Shared Component Install Failed.

    Nobody can help you with some exact system info... "New computer" means nothing, though of course it implies that it's running Win 7 or Win 8 and the bad news for you then is that there are all sorts of compatibility issues to be expected....
    Mylenium

  • How to drop "List" (Shared Component - Lists)?

    I’ve created a shared component – list. Now I don’t see an option for dropping it. I can delete individual list entries, but not the list its self. Further -I was able to create another list with the same name…
    I’ve done a mistake of creating a “list” with vertically ordered list entries. Now I want to drop this list and create a new one (with the same name), but this time with horizontally ordered list entries.
    Thank you,
    Daniel

    Hi Daniel,
    go to Shared Components -> List, pick your List, click the "Edit List", now you'll see the "Delete" Button.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at

  • Cant see PC's in finder shared component

    Hi, Im totally new to the mac world. i have a wireless network, 3 PC's and one mac. i wish to work mainly from the mac and have all other computers as servers in the finder shared component. the problem is that i can connect to the PC only manually. i wanna see them all under shared in the finder window. what should i do?
    ive search this database but couldn't find the specific solution to my problem.
    Thanks
    Shay

    Without really knowing your network i'll try to help.
    Basically you need to have a shared folder on the PC's and know their IP adress's. You then use OS X's Go to Server command and type in the IP of the PC machine. The Shared folder should then be displayed.

  • Shared Component User Interface Templates not available for page use.

    Hello.
    I created a new User Interface Template using the wizard under shared components. All it's supposed to do is display a header image on the page. I can click on the title under User Interface Templates and it will display fine. If I try to use that template, it will not display as an option under Display Option use custom template LOV under the Main tab of page modifications. Shouldn't it be available here for selection? I couldn't find any access grant options under Shared Components that might have explained this problem.
    Thanks.
    Kurt

    Does anyone else have this problem? How did you fix it?

  • Runtime Sharing & Component Inspector Bug

    I'm not sure if this is a bug with Flash or me doing something wrong. Here are the steps to reproduce:
    1) Create "Source.fla"
    draw a box on the stage and convert it to a movie clip. Call it "Component"
    export Component for actionscript. Give make the class name "Component"
    also, check "Export for runtime sharing" and put "Source.swf" in the URL. Click OK.
    Next, right click the Component in the library and select "Component Definition..."
    click the "+" button to add a parameter, give it the name "label" with type "String". Click OK
    Save and test the movie so "Source.swf" is compiled out.
    2) Create "Destination.fla" in the same directory
    close Source.fla
    go to File > Import > Open External Library...
    select Source.fla. Click OK
    you should see another Library panel show up with the Component symbol in it.
    drag the Component symbol from that library onto the stage
    save and run it. Everything should be fine: you should see your Component symbol from Source.fla should up on Destination.fla's stage.
    3) The Bug!
    now, click the imported Component symbol on Destination.fla's stage. And go to the component inspector.
    you should see the "label" property we created earlier in step 1
    change the value to something other than the default
    save and run it.
    you should see this compile time error: "Scene 1    1046: Type was not found or was not a compile-time constant: Component."
    What's up with that eh? Seems like a Flash bug to me. Unless I'm missing something.
    FYI: I'm using Adobe Flash Professional CS5 (11.0.2.489)
    Message was edited by: RovertNnud

    Yep, the problem definitely still exists in CS6 12.0.2.529.   I have hundreds of source files for lessons being used by students from PA to TX, and this BUG is making it impossible to work with the files.
    First of all, if a library object is imported for runtime sharing, then it shoudl be loaded from that external source when the file is opened, and flash should keep a file system watcher on the source RSL file so that when it changes, it automatically updates the library definition.
    Furthermore, the "Authortime Sharing" seems to handle these updates automatically, but it requires a source FLA file, and once you set one, there's no way to unlink from it.  If you decide you don't want to use Authortime Sharing, and just use the "import for runtime sharing" option instead, you're screwed.  There is no way to unassociate a file from a source FLA once you choose one.  This needs to be fixed immediatly, or RSL and Authortime sharing are useless in Flash CS6.
    Did you guys somehow patch CS5.5, without carrying the fixes forward to CS6?  lol.  This is confusing.

  • Search Template for shared queues

    Hi,
    I have created a search template for my process. My business scenario is that a task will be assigned to the shared queue. Users will search the task from the queue, claims the task and do some action from the to-do list.
    Currenlty the search templates are searching the tasks from the to-do list. Is there a way to provide searching in the shared queues?
    Regards,
    Waqas

    Hi
    We have built an extended Enquiry tool for LiveCycle.
    This may solve your problem.
    Check it out here: http://www.avoka.com/avoka/enquirytool.shtml
    If it doesn't do what you need, please contact [email protected] - we may be able to modify it to your requirements.
    Howard

Maybe you are looking for