Can Pages Templates be Sorted in the Chooser?

I doubt I will ever us any of he built-in templates and would prefer to have "My Templates" listed above them. Is there a way to sort the order in which template folders are displayed? At minimum, can the Word Processing template pages and Page Layout template pages be collapsed into their respective headings so they don;t take up so much of the display space?
Thanks,
Greg

Nothing bizarre.
The inthebox templates are stored in the application package itself.
The structure of the display in the Chooser is also defined in this package.
A plist file defines the two groups: WP and Layout and define subgroups in which templates are grouped by kind.
When we open this Chooser, the application displays the inthebox templates according to it's internal structure then complete with the list of templates grabbed from your custom templates folder.
You may dislike it but it's perfectly logical.
inthebox templates are completely different than custom templates.
I assumes that it's one of the reasons for this design.
If you don't want to see the in the_box templates, create an alias of your "custom templates" folder and put in in the dock or on the desktop.
You may also open it from the Menu Script where it would be reachable as a menu item like others.
--[SCRIPT iWork '09 my templates]
Enregistrer le script en tant que Script, Application ou Progiciel : iWork '09 mes modèles.xxx
déplacer l'application créée dans le dossier
<VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts/
Il vous faudra peut-être créer le dossier Applications.
menu Scripts > iWork '09 mes modèles
Si vous appelez ce menu depuis l'un des composants d'iWork vous pourrez sélectionner le modèle à ouvrir
depuis le dialogue "choose file" si la property 'fromDialog' a la valeur true
depuis une fenêtre Finder si cette property a la valeur false.
L'aide du Finder explique:
L'Utilitaire AppleScript permet d'activer le Menu des scripts :
Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
Cochez la case "Afficher le menu des scripts dans la barre de menus".
+++++++
Save the script as a Script, an Application or an Application Bundle: iWork '09 my templates.xxx
Move the newly created application into the folder:
<startup Volume>:Users:<yourAccount>:Library:Scripts:
Maybe you would have to create the folder Applications by yourself.
menu Scripts > iWork '09 my templates
If you call this menu from an iWork component you will be able to choose a template
from a "choose file" dialog if the property 'fromDialog' is set to true
from a Finder window if this property is set to false.
The Finder's Help explains:
To make the Script menu appear:
Open the AppleScript utility located in Applications/AppleScript.
Select the "Show Script Menu in menu bar" checkbox.
Yvan KOENIG (Vallauris, FRANCE)
10 mars 2009
property fromDialog : true
--=====
on run
set theApp to (info for (path to frontmost application))'s short name
if theApp is in {"Keynote", "Numbers", "Pages"} then
set dos to "Macintosh HD:Users:yvan_koenig:Library:Application Support:iWork:Pages:Modèles:"
set p2as to ((path to application support from user domain) as text) & "iWork:" & theApp & ":"
if theApp is "Keynote" then
set myTemplates to "Themes"
else
if my parleanglais() then
set myTemplates to "Templates:My Templates:"
else
set myTemplates to "Modèles:Mes modèles:"
end if
end if
set myTemplates to (p2as & myTemplates) as alias
if fromDialog then
tell application theApp to open (choose file default location myTemplates)
else
tell application "Finder" to open folder myTemplates
end if
else
beep 2
end if
end run
--=====
on parleanglais()
local z
try
tell application "Pages" to set z to localized string "Cancel"
on error
set z to "Cancel"
end try
return (z is not "Annuler")
end parleanglais
--=====
--[/SCRIPT]
Yvan KOENIG (from FRANCE mardi 10 mars 2009 17:12:56)

Similar Messages

  • HT5361 When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    When inserting pictures in a new mail message using the " photo browser" button I can view and select photos but the " choose "  button is gone. What have I done wrong?

    Hi Liz,
    Sorry to hear you are having a similar problem.  Last night I went to the tool bar at the top of iphoto, clicked on "File",  then clicked "Browse Backups" in the drop down menu.    I have an external hard drive that is set up to Time Machine.   The Browse Backups  opened the iphoto pages in the Time Machine.  I selected a date one day ahead of the day I performed the now infamous update, and it showed my iphoto library as it had existed that day.   I then clicked  "Restore Library" at the bottom right corner of the Time Machine screen.   Roughly 2 hours later my iphoto was back to normal.   When I opened iphoto there was a message saying I need to upgrade my program to be compatible with the new version of iphoto(version 9.2.1).  I clicked "Upgrade" and within seconds it had done whatever upgrading it needed to do. 
    The only glitch in the restoration was that it restored the library as it appeared last week, so I no longer had photos I had imported this past weekend.   I simply went back to the Browse Backups in the drop down menu,  when Time Machine opened I selected the page showing my pictures from this weekend and again said to Restore Library.   Roughly 45 minutes later the library was restored including the most recent photos.  
    I am now a happy camper. 
    I don't know if any of this will be of help to you because your email says you are having trouble with photos imported after the upgrade was performed.   Have you had any pop up notices when you first open iphoto,  that tell you you need an upgrade to be compatible with the new iphoto?     If so have you clicked "upgrade"? 
    Good luck Liz,  if you have Time Machine running as a back up to your library, maybe you wil be able to get help there, by following my instructions above.   Otherwise,   good luck with your investigations.   I'd be interested in hearing how you make out.
    Karen

  • How can I make iTunes sort on the first word by default, even though that word is "The" or "A"?

    How can I make iTunes sort on the first word by default, even though that word is "The" or "A"?
    I myself think that (for instance) "A tribe called Quest" should be sorted under "A", not "T".
    Now I can edit the sort options manually per track and/or per selection, but I would really like to just kill this "iTunes-knows-how-you-should-sort"-feature in iTunes.
    Anyone any suggestion on how to do that?
    Thanks

    Here is a modified version of one of Doug's Scripts. My modification was to add Sort Name to the list of tags that could be changed. I tried it on a single track and it worked. I recommend backing up your library first. Select the tracks you want to change (or all tracks) and run the script from the Applescript Editor.  If it works as intended, save it so you can apply it to newly imported tracks.  And, yes, I know this isn't the exact answer to your question, you want to change a preference setting in iTunes (if there is such a setting).
    Original script can be forund at http://dougscripts.com/itunes/scripts/ss.php?sp=thistagthattag
    Modified script is below. Start up Applescript Editor, paste it into a new window.  Start up iTunes and select the tracks to modify.  Click Run in the Applescript Editor.  Follow the instructions.
    (* Put This In That
    v2.0 april 22 2008
    - runs as universal binary
    - adds "Show" tag
    - consolidated code
    - saved as script bundle
    v1.7 October 3, 2006
    - adds "Album Artist" as option
    v1.6 October 28, 2004
    - works around iTunes 4.7 selection bug
    v1.5 ('04/1)-- adds "grouping" tag
    Get more free AppleScripts and info on writing your own
    at Doug's AppleScripts for iTunes
    http://dougscripts.com/itunes/
    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
    Get a copy of the GNU General Public License by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    or visit http://www.gnu.org/copyleft/gpl.html
    -- CONSTANTS
    property allOptions : {"Song Name", "Artist", "Album", "Album Artist", "Composer", "Genre", "Comments", "Show", "Grouping", "Sort Name"}
    property my_title : "Put This In That"
    global thisTag, thatTag, theNewTags, theOriginalTags, yn
    tell application "iTunes"
              if selection is not {} then -- if tracks are selected...
                        set sel to selection
                        set numTracks to (length of sel)
                        set s to "s"
                        if numTracks is 1 then set s to ""
                        display dialog "The data from one tag REPLACES the data in another tag in all the selected tracks, with option to delete data in first tag." & return & return & (numTracks & " track" & s & " selected.") buttons {"Cancel", "Continue"} default button 2 with title my_title giving up after 30
                        if gave up of result is true then return
                        my choose_this_tag()
                        my choose_that_tag()
                        set yn to (button returned of (display dialog "Delete data in " & thisTag & " afterwards?" buttons {"Yes", "No"} default button 2 with title my_title giving up after 45) is "Yes")
                        set oldfi to fixed indexing
                        set fixed indexing to true
                        repeat with t from 1 to numTracks
                                  tell contents of item t of sel
                                            set theOriginalTags to {get name, get artist, get album, get album artist, get composer, get genre, get comment, get show, get grouping, get sort name}
                                            set theNewTags to theOriginalTags
                                            my do_put()
                                            set {name, artist, album, album artist, composer, genre, comment, show, grouping, sort name} to theNewTags
                                  end tell
                        end repeat
                        set fixed indexing to oldfi
              else
      display dialog "No tracks have been selected." buttons {"Cancel"} default button 1 with icon 0 giving up after 30
              end if -- no selection
    end tell
    to choose_this_tag()
              tell application "iTunes"
                        set n to (choose from list allOptions with prompt ("Select a tag to get data from:") with title my_title)
                        if n is false then error number -128
                        set thisTag to (n as text)
              end tell
    end choose_this_tag
    to choose_that_tag()
              set o to {}
              repeat with t in allOptions
                        if (t as text) is not thisTag then copy t to end of o
              end repeat
              tell application "iTunes"
                        set n to choose from list o with prompt ("Use data from the " & thisTag & " tag to REPLACE data in...") with title my_title
                        if n is false then error number -128
                        set thatTag to n as text
              end tell
    end choose_that_tag
    to do_put()
              try
                        repeat with i from 1 to (length of allOptions)
                                  if thisTag is (item i of allOptions) then
                                            set thisTag_sto to (item i of theOriginalTags)
                                            exit repeat
                                  end if
                        end repeat
                        repeat with i from 1 to (length of allOptions)
                                  if thatTag is (item i of allOptions) then
                                            set (item i of theNewTags) to thisTag_sto
                                            exit repeat
                                  end if
                        end repeat
                        if yn then
                                  repeat with i from 1 to (length of allOptions)
                                            if thisTag is (item i of allOptions) then
                                                      set (item i of theNewTags) to ""
                                                      exit repeat
                                            end if
                                  end repeat
                        end if
              end try
    end do_put

  • 9i:Can Page number be obtained before the entire generation of report ?

    Dear all:
    Suppose there is a report, the report is printed on both side of paper
    The page no of report (current logical page no and total logical page no) reset at each customer,
    For each customer,
    i want to print a logo on the front side of the last page (The logo would be read by machine so that it must be printed on the front side of the last page)
    In 6i, As page no/total page no cannot be known in function/triggers until entire report generated.
    so I have to generate the report twice
    First) I have to get the total no of paper for the report of each customer
    Second) Actually generate the report
    so that i know which page the logo should be printed
    (In the format trigger, when the front side of last page reached, return true in "format trigger of the logo" to print the logo)
    However, the method is not effective.
    Heard from others, 9i can solve the problem because in function/trigger, before the entire generation of report,
    the total logical no of page and current page can already be known. (so that the generation
    can be done at one time..no need to do twice)
    any suggestion ?
    Thanks for you help

    Hi,
    So I cannot test from the report builder, I guess?Pl take a look here:
    http://download.oracle.com/docs/html/B10314_01/pbr_cla.htm#640470
    This gives you a list of commands that you can use the keyword with. It says No for rwbuilder. So it may not be possible to test it with Builder.
    Reading the other threads, this seems to be a very complicated thing to do, creating EAR, etc, and I seem to need 9iDS, not AS (I have AS)?One of the main reasons a JSP report is useful is - you can deploy it with your J2EE application, ie, you place the report JSP alongwith other JSP's of your application, and deploy the J2EE application (EAR). So thats why you see so many references to EAR's, packaging etc in the other thread that discuss JSP's.
    Th answer to your Q is - no, you don't need iDS for deploying and running the JSP. You can run it from your iAS installation (thats what the iAS suite is for - deploying and running your reports that you developed using iDS). What you need to do is this:
    Copy your JSP to
    ORACLE_HOME\j2ee\OC4J_BI_Forms\applications\reports\web
    Go to the Enterprise Manager, and make sure that the OC4J instance (OC4J_BI_Forms) is running. Now access your JSP with the following URL:
    http://machine:port/reports/<Report_Name>.jsp?server=<server_name>+userid=<db_conn_string>
    For complete information about deploying and running JSP's in iAS, refer to
    http://download.oracle.com/docs/html/B10314_01/pbr_run.htm#1011901
    Navneet.

  • Can anyone help me sort out the audio on my k8n neo2

    Audio has never been one of my strong points so im stuck trying to get the onboard sound on my k8n neo2 board to work properly. The case i have has front connections for  headphones and another for microphone. Ive managed to get the front headphone jack to work i havnt got a mic so i cant try that. I have tried connecting my stereo speakers (part of my monitor) to the line out at rear (green jack plug) , i notice in the msi sound manager they refer to this connector as front speaker out. I had no sound at all until i came across aforesaid msi sound manager, the only way i can get sound is by going into this manager and selecting "speaker configuration" and either selecting 8 or 6 channel which i havnt got but at least i can hear a cd when its playing. The problem with this is that when i boot into windows there is no sound played. I have noticed in the mobo manual page E-2-20 under msi reminds you.. If you dont want to connect to the front audio header (JAUD1), pins 5&6, 9&10 have to be jumpered in order to have signal output directed to rear audio audio ports. Otherwise the line-out connector on back panel will not function. Wonder if this has something to do with it. I encclose an image showing the relevant mobo page with connection instructions and the wiring of front panel jacks from my case instructions.
     on the JAUD1 pins 6 and 10 audio signal returns for right and left channel  but my case wiring only had a single return in the form of the shield braid so i split it in two and connected to pins 6&10 to see if this would cure the no sound problem, it didnt. Just hoping the image is big enough for people to read. Hope someone can help with this.

    Well lets see if I can help.
    Connect like this:
    Red---->Aud_fpout_L
    Jump with Red---->Aud_ret_L
    White---->Aud_fpout_R
    Jump with white---->Aud_ret_R
    I think is... Spiral---->Aud_gnd this you have to share with the mic that is also Spiral
    As for the mic .... MIC power---->Aud_mic_bias
    MIC-IN---->AUD_mic
    And I think that's it....
    Be well....

  • Can Pages display two windows of the same document?

    Can Pages display two open windows of the same document? In editing my book and looking for duplications of stories or material, it would be very helpful to see side-by-side windows. Is this possible?

    Peggy
    They must have misread your:
    "Please may I have multiple views of the same document."
    as
    "Please delete 90 features from Pages and mangle any old documents it opens."
    An easy mistake anybody could make.
    Peter

  • Page Template Body 1,2,3 position to the left of the page

    Hi,
    How can make a page template as default.
    The situation is i have a theme which has a default page template set so that the "Page Template Body 2' comes to the the center(let me this be theme - theme 1). But there is another theme which gives me the option to
    set the 'page template body 2' to the left of the page(theme 2). I thought of switching the theme but my other setting for report will go for toss. So i have copied default template for page from theme 2 to theme 1, but i
    cant make the page template as default. How can make the page template to default ?
    Is there any other way of doing this so the 'Page Template Body 2' appears to the left.
    Thank you,
    rakesh

    In Application Builder:
    - Edit the Application
    - Click on Shared Components
    - Click on Themes
    > The current theme will have an 'asterisk (*)' by the theme name
    - DO NOT CLICK ON THE THEME
    - On the far right column will be a panel called Tasks
    - Click Edit Theme
    - Click on your current theme
    You'll see a drop down list that allows you to pick the default page template.
    Hope that helps.

  • Change the Page Template Body to use 8 columns instead of 12

    Apex Version: 4.2.0.00.27
    Theme: 25
    I have a page that I need to divide by 8 segments, rather than 12 ( I will need to place items and buttons in one of the 8 columns).
    To begin, I have made a copy of the One Level Tabs - No Sidebar page template. I have tried to edit this template, and played with multiple combinations changing the Grid Layout and Display Points settings, but instead of creating a page that has 8 columns, that span the width of the page, I am just left with blank space.
    See attached:.
    https://docs.google.com/file/d/0B8Hpc-BDtEo9cjliSEJCR1hlN2c/edit?usp=drivesdk
    And these are the Page Template Settings:
    https://docs.google.com/file/d/0B8Hpc-BDtEo9ZnVVeU9vUm5jUUU/edit?usp=drivesdk
    Is it possible to change the body section of the page template to have 8 columns span the entire width, without the dead space?
    Amanda.

    Amanda,
    The CSS definition that comes with Theme 25 is based on 12 columns. The definition actually contains multiple fixed grid definitions for different screen sizes. For each definition, the column widths are defined (hard coded) based on the 12 column grid.
    Important: the grid attributes in the page template do not define the grid, the CSS does. The attributes/definition in the page template is necessary for APEX to dynamically use the grid definition. The CSS is leading!
    If you want to use an 8 column grid, you will have to re-write the CSS grid definition and alter the grid definition in the page template accordingly. So it is possible, but, depending on your level of understanding CSS and @Media queries, maybe not that trivial.
    Kind regards,
    Christian

  • Can pages print a sheet of Avery labels, with the same address on all labels?  If not, why not?

    How do you print the same address on a sheet of Avery labels using Pages?  If not, why not?

    It is possible. Download the Pages template form here > Open the template in Pages. Fill in the desired information in the first cell. Copy the information (address) Hold the cursor down and scroll down one column of labels and hit paste > it should be highlighted. Repeat by highlighting the next column and paste. You probably using 30 up labels so there would be 3  columns. Hope that helps.

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

  • How to set a page template for news detailed view?

    Is there a way to set a page template for the detailed view of the news module?
    I have a page template setup and added the {module_announcement,,,,,} to the page. When the news item is clicked it always opens the default template - is this how it is designed to work or is there a way I can specify it to use a different page template?
    Dave.

    Hey Dave, See the image below:

  • How do you manage Pages templates in Lion?

    Apple have removed access to the User/Library folder under Lion. How can Pages templates be managed, deleted, renamed etc? Apple should either bring back access to the library folder or update Page, so that a user can manage templates within the Pages Application.

    Finder>Go hold the option key >>Library
    make the change in Terminal:
    chflags nohidden ~/Library

  • Calling a stored workspace procedure/function in page template

    I have an unusual puzzle. I am trying to find a way to call a stored procedure or function in a page template; ie, through HTML/javascript.
    I maintain a website with several dozen applications and I currently have the page templates in all of these applications subscribed to one master template, so that changes can be made in one place and implemented across all the applications. So far, the only content I can display on every page in every application through page template subscription is static content; dynamic content (ie content generated based on data in the database) is implemented page-by-page (or application-by-application).
    I'm wondering if there is a way to call stored procedures/functions from the page template to create dynamic content (based on the :APP_USER identity, for example). htmldb_Get() doesn't seem to be helpful, because as far as I can tell it only calls on-demand application processes, not workspace procedures/functions.
    Is there any way at all that a workspace procedure/function can be called directly from the page template (eg with a javascript function of some kind)? Again, I am trying to avoid having to use any application/page-level apex entities (items, processes, etc) so that I can just put the javascript or whatever in the page template and refresh all the applications in my workspace.
    Thanks in advance!
    Jonathan Cole
    PS - I am currently using v3.1

    Just to add the owner in output :
    SCOTT@demo102> ed
    Wrote file afiedt.buf
      1  select owner, table_name, ltrim(max(sys_connect_by_path(column_name,','))
      2                     keep (dense_rank last order by position),',') as PKcolumns
      3  from
      4  (select a.owner, a.table_name, b.column_name, b.position
      5   from all_tables a, all_cons_columns b, all_constraints c
      6   where a.owner=b.owner
      7   and   a.table_name=b.table_name
      8   and   b.owner=c.owner
      9   and   b.constraint_name=c.constraint_name
    10   and   c.constraint_type='P'
    11   and   a.table_name in ('SDO_COORD_AXES','EMP'))
    12  group by owner, table_name
    13  connect by prior owner = owner and prior table_name = table_name and prior position = position - 1
    14* start with position = 1
    SCOTT@demo102> /
    OWNER                          TABLE_NAME                      PKCOLUMNS
    MDSYS                          SDO_COORD_AXES                  COORD_SYS_ID,ORDER
    SCOTT                          EMP                             EMPNO
    SCOTT@demo102> Nicolas.

  • Bug report:on application import: page template substitution strings double

    apex version: 4.2.0.00.27
    We encounter an issue when we import an application export. In all the page templates we see that the standard substitution strings in the HEADER and FOOTER area have been added for a second time.
    EXPORTED CODE:
    wwv_flow_api.create_template (
    p_id => 32176400365879390 + wwv_flow_api.g_id_offset
    ,p_flow_id => wwv_flow.g_flow_id
    ,p_theme_id => 20
    ,p_name => '_vo_One Level Tabs_Simple'
    ,p_is_popup => false
    ,p_header_template => '<html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">'||unistr('\000a')||
    '<head>'||unistr('\000a')||
    '<title>#TITLE#</title>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>'||unistr('\000a')||
    '<script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>'||unistr('\000a')||
    '<link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />'||unistr('\000a')||
    '<!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->'||unistr('\000a')||
    '#APEX_CSS#'||unistr('\000a')||
    '#TEMPLATE_CSS#'||unistr('\000a')||
    '#THEME_CSS#'||unistr('\000a')||
    '#PAGE_CSS#'||unistr('\000a')||
    '#TEMPLATE_JAVASCRIPT#'||unistr('\000a')||
    '#APPLICATION_JAVASCRIPT#'||unistr('\000a')||
    '#PAGE_JAVASCRIPT#'||unistr('\000a')||
    '#HEAD#'||unistr('\000a')||
    '</head>'||unistr('\000a')||
    '<body #ONLOAD#>#FORM_OPEN#'
    ,p_box =>
    '<div id="t20Tabs">#TAB_CELLS##NAVIGATION_BAR#</div>'||unistr('\000a')||
    '<table border="0" cellpadding="0" cellspacing="0" summary="" id="t20PageBody" width="100%">'||unistr('\000a')||
    '<td width="100%" valign="top" id="t20ContentBody">'||unistr('\000a')||
    '<div id="t20BreadCrumbsLeft">#REGION_POSITION_01#</div>'||unistr('\000a')||
    '<div id="t20Messages">#GLOBAL_NOTIFICATION##SUCCESS_MESSAGE##NOTIFICATION_MESSAGE##REGION_POSITION_02#</div>'||unistr('\000a')||
    '<div id="t20ContentMiddle">#BOX_BODY##R'||
    'EGION_POSITION_03##REGION_POSITION_04##REGION_POSITION_05##REGION_POSITION_06#</div>'||unistr('\000a')||
    '</td>'||unistr('\000a')||
    '</tr>'||unistr('\000a')||
    '</table>'
    ,p_footer_template =>
    '<div class="smallfont">PBH Versie: #APP_VERSION#</div>'||unistr('\000a')||
    '#FORM_CLOSE# '||unistr('\000a')||
    '#DEVELOPER_TOOLBAR#'||unistr('\000a')||
    '#GENERATED_CSS#'||unistr('\000a')||
    '#GENERATED_JAVASCRIPT#'||unistr('\000a')||
    '</body>'||unistr('\000a')||
    '</html>'
    ,p_success_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#SUCCESS_MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_current_tab => '#TAB_LABEL#'
    ,p_non_current_tab => '#TAB_LABEL#'
    ,p_notification_message => '<table summary="" border="0" cellpadding="0" cellspacing="0" id="t20Notification">'||unistr('\000a')||
    '<tr><td class="L"></td><td width="100%">#MESSAGE#</td><td class="R"></td></tr>'||unistr('\000a')||
    '</table>'
    ,p_navigation_bar => '#BAR_BODY#'
    ,p_navbar_entry => '#TEXT#'
    ,p_region_table_cattributes => ' summary="" cellpadding="0" border="0" cellspacing="5" align="left"'
    ,p_breadcrumb_def_reg_pos => 'REGION_POSITION_01'
    ,p_theme_class_id => 1
    ,p_grid_type => 'TABLE'
    ,p_grid_always_use_max_columns => false
    ,p_grid_has_column_span => true
    ,p_grid_emit_empty_leading_cols => true
    ,p_grid_emit_empty_trail_cols => false
    ,p_has_edit_links => true
    ,p_translate_this_template => 'N'
    ,p_template_comment => ''
    RESULT IN APEX for the HEADER
    <html lang="&BROWSER_LANGUAGE." xmlns:htmldb="http://htmldb.oracle.com">
    <head>
    <title>#TITLE#</title>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_common2.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/datepicker-ext.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_show_hide_region.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_desktop_all.js"></script>
    <script type="text/javascript" src="#IMAGE_PREFIX#app/common/js/app_legacy.js"></script>
    <link rel="stylesheet" href="#IMAGE_PREFIX#app/pbh/css/pbh.css" type="text/css" />
    <!--[if IE]><link rel="stylesheet" href="#IMAGE_PREFIX#themes/theme_20/ie.css" type="text/css" /><![endif]-->
    #APEX_CSS#
    #TEMPLATE_CSS#
    #THEME_CSS#
    #PAGE_CSS#
    #TEMPLATE_JAVASCRIPT#
    #APPLICATION_JAVASCRIPT#
    #PAGE_JAVASCRIPT#
    *#APEXCSS#*_
    *#TEMPLATECSS#*_
    *#THEMECSS#*_
    *#PAGECSS#*_
    *#APEXJAVASCRIPT#*_
    *#TEMPLATEJAVASCRIPT#*_
    *#APPLICATIONJAVASCRIPT#*_
    #HEAD#
    </head>
    <body #ONLOAD#>#FORM_OPEN#
    The added substitution strings are bold + underlined.
    Is there a parameter (application, export, template, instance level) that we can set to prevent this ?
    Edited by: Karel C on 12-feb-2013 5:32
    Edited by: Karel C on 12-feb-2013 5:32

    Hi Patrick,
    The version info is: wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2009.01.12');
    This should be wwv_flow_api.set_version(p_version_yyyy_mm_dd=>'2012.01.01');
    ... but this error is due to a manual modification of the export file.
    We parameterise some values, so that the we can use the old-school DEFINE variables in our deploy process via SQL/plus.
    One of the developers made a copy-paste error when doing that ...
    So there is no bug !
    Thanks for the tip !!
    Kind regards,
    Karel

  • Default Page Template for Portal Page Group

    Release 2 of Portal (9.0.2.2.22)
    Created a page group and several templates.
    Edit Page Group Properties, Configure, locate the Default Page Template drop list.
    The drop list has only the templates from the shared object page group.
    The online help states
    =======
    Choose the page template to apply to new pages in this page group if the page designer does not explicitly choose one.
    Note: This list includes all the page templates in this page group and the shared objects page group.
    ========
    I have several templates in this page group. Why don't they show in this drop list?

    You have to make the templates public. Edit the template properties - on the Main tab click "Make Public".

Maybe you are looking for

  • How to call Subroutines,Standard Text  & using Internal Table in SmartForm

    Hi all, need help in the following areas.Its very urgent! 1.How to CAll Subroutines in Smart Forms 2.How to CAll Standard Text in Smart Forms Situation: We have an Internal Table T_SALES with all the data which am going to display in the smartform,Ho

  • Led flash problem - Led flash don't work

    Hi, i'm an italian guy. I've a problem at the flash of my iphone 4. When I register the movie with flash on, The LED flash does not fire. I've send twice my iphone 4 to Apple in Holland, but they don't see the problem. How can i solve this problem? T

  • Anylytical Functions and DrillDown

    Hi everybody! I wnat to know, if someone has solved the problem with the analytical functions and the drill down. the analytical functions are based on fixed parameters. when you drill down, these parameters change and the result is not very meanfull

  • SQL QUERY - Dates

    Hi Everyone I want to chabge a format for a date which is stored as Text in this format '2008/04/01 00:00:00'.I tried to_char but it returns an error message saying "The attempted conversion of a character string to a number failed because the charac

  • Apple weather widget

    Does anyone by chance know if in the new iOS 6 which I have installed on my iPhone they will update the weather widget to show a real time temperature dispaly instead of the constant 73' icon. Or at least can they give the option of having the temper