Change Default Include Library

Hello,
We've created an apps global.jsp that will load the version in the /libs folder as well as other custom jsp files we've created.  So the fist include section of all of our components looks something like this:
<%@include file="/apps/mycompany/global/global.jsp"%>
When we create a new component, CQ automatically inserts the default libs version:
<%@include file="/libs/foundation/global.jsp"%>
Is there a way to change CQ so that the default include is our apps version and not the /libs default version?  We are using 5.5 Update 1
Thanks

You will be modfying the file anyway to implement logic better to have in your checklist and modify that include also.
On 5.3/5.4 modify the method getJspContent at location [1].  For 5.5 need to download the bundle [2] , extract modify the file CreateComponentAction.js and install it from felix console.
[1]  <cq_home>/crx-quickstart/server/runtime/0/_crx/docroot/de/js/CRX/plugins/action/CreateCom ponentAction.js
[2]   /libs/system/install/com.adobe.granite.crxde-lite-x.x.xx.jar

Similar Messages

  • Mistakenly changed default of library folder via finder...

    Couldn't think of better name for topic....
    While looking for where .icc files are kept on my new macbook pro late 2013 which I love but must learn (searched and found supposed path for HP while I have a Canon) used Finder and from "home" folder used "change view" to show hidden library folder after all done i instead of clicking close button to close the window I mistakenly hit "use as default" on bottom of that window which allows you to make changes to folder view.
    Is it system wide what I changed (the view of that folder)? Or since I was on "Home" folder in Finder would it only effect "Home" folder?
    Know Windows 7 inside and out but learning on Macbook/Maverick 10.9.1 has been slow at best (as 6 days a week I am on BootCamp side using Windows 7 Professional 64 bit for use of software that hasn't updated yet for latest maverick.... yes I am looking at you General Motors) I searched and couldn't find a way to undo my actions. I prefer the Library folder hidden. As I can easily unhide it when needed. Once I learn the Mac folder heirchy I can set it up as I do Windows.
    As a side note only found generic icc files for printer.
    Normally with the drivers on Canon Pixma 7220 wireless the driver installation gives you ability to choose Canon papers which I use exclusively.
    I may have to install a piece of Canon toy software I don't need in hopes on the mac installation it will be like windows in its installation of the paper profiles. My searches from both the community and google gave me dead ends. I need the profiles otherwise the prints won't match. I don't use photoshop/lightroom I am a Nikon user who loves Capture NX2 and ViewNX2 combination to work my .nef files. But even with jpegs the standard airprint dialogue boxes/windows doesn't give me choices of paper just ink levels, etc.. Nor does iPhoto which was first place i looked for that.
    Thank you for any and all help in advance.
    Mark

    help?

  • Change Default Swatch Library

    I created a swatch library in InDesign that I'm going to send to multiple computers and access there. Is there a way to make my swatch library the default library that comes up when I open a new document? I tried loading it and then saving my workspace, but when I open a new document, the default swatch palette is there. I haven't found any options yet. Could someone help? Thanks!
    I'm using InDesign CS2 on a PC.

    Load the swatches with nothing open, then close InDesign. Swatches are saved as part of the preferences, not as part of a workspace.
    For the location of preference files in Windows, see the comments on this page: http://livedocs.adobe.com/en_US/InDesign/5.0/help.html?content=WSa285fff53dea4f8617383751 001ea8cb3f-6d1e.html
    Another option would be to export the swatches as an Adobe Swatch Exchange (ASE) file, although this option does not support all swatch types. The advantage of the ASE file is it can be loaded into Illustrator of Photoshop as well.
    Peter

  • How do I change the default iPhoto library for the Media Browser?

    I have multiple Aperture/iPhoto Libraries. When I open the new Keynote and attempt to use the Media Browser to select a photo, the pictures the Media Browser displays are not from the Default Libary.
    Is there a way to change the default photo library that the Media Browser references?

    Hello danstat,
    Thank you for the question.  The Media Browser accesses iPhoto's last opened photo library.  To access that photo library through the Media Browser, quit Keynote, access that photo library in iPhoto, quit iPhoto, and relaunch Keynote. 
    You can access the an alternate photo library using these steps:
    To switch between photo libraries:
    Quit iPhoto.
    Hold down the Option key as you open iPhoto.
    Select the library you want to switch to.
    Click Choose.
    iPhoto '11: Create a new iPhoto library or switch between libraries
    http://support.apple.com/kb/PH2505
    Alternatively, you can drag the photo in directly to youre Keynote presentation from the iPhoto or Aperture windows. 
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • How to change default texts in OSX dialogue windows?

    I'd like to change some of the texts that appear in the OSX dialogue boxes.
    One example: I have set my Mac up to ask for the password after N minutes of sleep. I would like to change the text in the box/window that appears when the Mac is woken up and where you are told to submit your ID and password (I'm sorry that I am not sure what exactly it says in English because I'm using another language).
    The closest thing to what I need I have come across is this:
    sudo defaults write /Library/Preferences/com.apple.loginwindow LoginwindowText 'Hands off'
    However, this applies only to the first login window you see after you have started the computer. I'd like to change other default texts as well.
    The default texts in different languages must be stored somewhere. How do I find them and how do I chage them? Any advice would be appreciated.

    It seems like the same problem as would be faced by someone localizing the OS, so perhaps there would be something useful here:
    http://developer.apple.com/internationalization/

  • Changing default PDF viewer

    I need to change the default PDF viewer on a large number of computers
    from Acrobat Professional to Reader. When I say "change the default," I
    don't just mean the file association; I mean every default, including
    browser plug-ins.
    When you install Acrobat or Reader on a computer on which the other has
    already been installed, you get a prompt as to whether you want Acrobat
    or Reader to be the default PDF viewer. I want to get at that
    functionality, preferably by script. So far as I have been able to
    discover, the ONLY way to get at that function is by uninstalling one of
    the programs and reinstalling it.
    Is there a deployable way to do this? I prefer scripting methods, but
    manual remote changes are good too.
    David
    Stardate 8634.5

    Michael Kazlow wrote:
    > It is a mistake to have Reader and Acrobat on the same computer under
    > Windows. It is allowed but not supported. You are creating a headache
    > for purposeful reason.
    I have no choice. This is what I've got to work with. And our Acrobat
    software is controlled by a KeyServer, which is why I need Reader to be
    the default (so as not to use up licenses for mere viewing of PDFs).
    In any case, the two programs do know how to set a default between
    themselves when you install the second one, so that functionality must
    exist somewhere, supported or not.
    David
    Stardate 8636.7

  • Changing defaults in Illustrator CS4

    Hey folks... this was easier in CS1 and previous, but I was curious as to how to change defaults in Illustrator CS4? For example, I've customized my brush library and want to replace whatever the default brush file is with my customized brush file (for now, called, interestingly enough, brushes.ai) Where is the location of the (default brushes) file? Thanks!

    You can place your custom created files to the location
    \Program Files\Adobe\Adobe Illustrator CS5\Presets\en_US\Brushes

  • Changing default database and application passwords

    Hi,
    We have default passwords for our newly configured Oracle ERP (R12).
    I have a concern regarding the changing of default password. Does changing the default passwords will have any effect on normal working of ERP and database.
    I know that we shouldn't change default APPLSYSPUB password. What about the following default passwords?
    a) Default accounts having default password in database (DBA_USERS):
    CTX SYS
    OLAPSYS
    DBSNMP
    DMSYS
    GL (oracle users .e.g AP, GL, AR)
    APPLSYSPUB
    OUTLN
    PERFSTAT
    SYS
    b) Default accounts present in Oracle Application (FND_USERS) :
    IBE_GUEST
    OP_CUST_CARE_ADMIN
    ASGADM
    MOBILEADM
    APPSMGR
    IBEGUEST
    OP_SYSADMIN
    AUTOINSTALL
    WIZARD
    IEXADMIN
    ASGUEST
    IBE_ADMIN
    ERP version : 12.1.2
    Database Version: 11.2.0.1
    Thanks in advance.
    Regards,
    Gaurav

    Hi Gaurav,
    Yes as stated by Srini, It's highly recommended that you change tyhe default password in order to safeguard your instance by outside threats.
    But please be cautious as you cant change these accounts as "alter user <username> identified by <new password>", but rather use FNDCPASS utility. I advice you to check on the TEST system before implementing on the PROD instance if you dont have prior experience using FNDCPSAS.
    Please also refer notes:
    How to Change Applications Passwords using Applications Schema Password Change Utility (FNDCPASS or AFPASSWD) (Doc ID 437260.1)
    FNDCPASS Troubleshooting Guide For Login and Changing Applications Passwords (Doc ID 1306938.1)
    How to change passwords to include special characters using FNDCPASS (Doc ID 1336479.1)
    FNDCPASS Utility New Feature: Enhance Security With Non-Reversible Hash Password (Doc ID 457166.1)
    Also see forum search:
    Forum Search: FNDCPASS
    Hope this helps!
    Best Regards

  • Office 365 Files REST API - Get direct children in the root of the default document library

    I'm trying to work with Office 365 Files REST API which works just fine except one thing that I'm struggling with.
    What I need for my application is to make an explorer like browse capability for OneDrive for business Document Library.
    My problem is that I don't know how to get the direct children in the root of the Document library
    The API request
    GET ../_api/files will
    retrieve all files and folders in the default document library, including files and folders from sub-directories.
    What I need is basically the functionality of the API request
    GET ../_api/files(<folder_path>)/Children
    that works also for the root folder of the Document library. The problem is that I couldn't find a way set <folder_path> as the root folder. 
    I found out that the API call ../_api/web/getfolderbyserverrelativeurl(<folder_server_relative_path>)/Folders and _api/web/getfolderbyserverrelativeurl(<folder_server_relative_path>)/Files works as expected resulting the only the direct
    children of the root folder if the folder_server_relative_path is the path of the document library. The problem with this API call is that it's requires server relative path of the (default) document library (which i don't have) and the result has a different
    schema compared to the ../_api/files REST API call.
    Can somebody help me with this problem?
    David

    First thanks for the fast answer. Let me explain my use case in more details.
    I'm trying to work with the new summer release of the
    Office 365 API tool for Visual Studio 2013 (update 3)
    I found no reasonable way to retrieve the direct children of the root folder from my One Drive for business Document Library using the newly added SharePointClient library.
    The API call of `SharePointClient.Files` will retrieve all the files and folders from the whole document library including sub-folders. So in order to get only the direct children I have to page through all the documents and folders and analyze their URL, which
    is not acceptable for my application scenario. For a sub-folder I can get the direct children like this: `SharePointClient.Files["<folder_id>"].ToFolder().Children` This is what I need but it can't be applied to the root folder.
    So what I did I've checked what REST API calls this library makes and I've tried to find out if there is a way to achieve my goal at least using direct REST API call. It seems like the functionality is missing from the REST API itself. 
    The http://site
    url/_api/web/lists/GetByTitle(‘libraryname’)/items API call also retrieves all the items hierarchy from the library (including items from sub-folders) and the result XML "schema" (fields and the meaning of the ID) differs from the one used
    by the calls by SharePointClient library. (for example the "Id" is a number when the /items is called but when
    /_api/files is called the "Id" is the relative path to the document library)
    Basically what I need can be achieved with the call to http://site url/_api/web/lists/GetByTitle(‘libraryname’)/rootfolder/files and http://site
    url/_api/web/lists/GetByTitle(‘libraryname’)/rootfolder/folders but again the schema of the result differs from the one used in SharePointClient
    library. This means that in order to get  the direct children of the root I will need to re-implement a good part of the SharePointClient library. It seams like there is 2 kind of REST API is implemented. ( missing  "Id" and "url"
    fields, etc)
    Also there is no convenient way to get the Name or the GUID of the default document library which the SharePointClient.Files
    (https://site_url/_api/file) automatically
    uses. The DiscoveryContext.DiscoverCapability for "MyFiles" doesn't gives any hint either.
    David

  • How do I change default tab from .5 to .25 in word 2008 for mac?

    Mountain Lion
    How do I change default tab from .5 to .25 in word 2008 for mac?
    Thanks
    Message was edited by: Rafael Montserrat1
    Thanks, Rafael

    They haven't been checked as Solved, it's an option for you to choose one if the answer has solved your problem. You can mark one answer as Solved, and two as helpful. Only you, as the originator of the topic, can see these buttons.
    Sorry for the goofed answer. Most people are looking to set the margins and I looked over that you were interested in the tabs.
    To save tabs in fixed positions that will appear with every new document, you must modify the default template. You can't open the template from the desktop. If you do, it will open as a standard document. You must open it from the Open dialogue box from within Word. With Word in the foreground, press Command+O and navigate to:
    /Users/your_account/Library/Application Support/Microsoft/Office/User Templates/
    Open the file Normal.dotm
    Set your tabs and save the file. Close the template. All new documents will now open with those preset tabs.

  • [Forum FAQ] How do I change default values shown in Report Delivery Options?

    Introduction
    Some users want to change default values shown in Report Delivery Options when creating standard subscriptions. Someone might want to always Cc the report to a specified user without sending the report URL. So they want to display those default values display
    automatically when creating standard subscriptions like below.
    Solution
    To achieve this goal, please embed JavaScript code into the SubscriptionProperties.aspx file to change those default values (By default, the file’s location is: <Installation directory>\Reporting Services\ReportManager\Pages\SubcriptionProperties.aspx).
    The example below will show how to set default values for “Cc” field and “Include Link” field.
    Before coding, pleas find out the corresponding HTML tags of the two fields in the browser using IE Developer Tools.
    Get “Cc” field with its corresponding HTML tag
    Get “Include Link” field with its corresponding HTML tag
    Embed such a code snippet at the end of the existing code within the SubcriptionProperties.aspx file
    <script runat="server">   
    protected void Page_Load(object sender, EventArgs e)
        Page.ClientScript.RegisterStartupScript(typeof(Page),"MyScript", "var cc = document.getElementById('CcEmailAddressesID');cc.value = '[email protected]';var IncludeLink = document.getElementById('ui_cbIncludeLink');IncludeLink.checked
    = false;",true);}
    </script>
    Create a new subscription to check the default values shown in Report Delivery Options 
    Applies to
    Reporting Services 2005
    Reporting Services 2008
    Reporting Services 2008 R2
    Reporting Services 2012
    Reporting Services 2014
    Please click to vote if the post helps you. This can be beneficial to other community members reading the thread.

    Thanks,
    Is this a supported scenario, or does it use unsupported features?
    For example, can we call exec [ReportServer].dbo.AddEvent @EventType='TimedSubscription', @EventData='b64ce7ec-d598-45cd-bbc2-ea202e0c129d'
    in a supported way?
    Thanks! Josh

  • How to change  default unit on Database 11g

    Hi All
    I'm using Oracle Database 11g Enterprise Edition Release 11.1.0.6.0.
    If I define my column:
    USERID VACHAR2(8) --> Default USERID VACHAR2(8 BYTE)
    How can I change default unit BYTE to CHAR as the following
    USERID VACHAR2(8) --> Default USERID VACHAR(8 CHAR)
    Thanks alot
    Thiensu2810

    I have set Database system with the following SQL:
    alter system set nls_length_semantics=char;
    alter session set nls_length_semantics=char;
    But, It does not match.
    And when I insert data, the following error occured.
    SQL> insert into binhtest values('初期化パ');
    ORA-12899: value too large for column string (actual: 12, maximum: 8)
    I've checked value of NLS_LENGTH_SEMANTICS, it is CHAR
    SQL>SHOW PARAMETER NLS_LENGTH;
    NAME | TYPE | VALUE
    NLS_LENGTH_SEMANTICS | String

  • How to change default FCoE QoS class - Nexus 5020

    I see that on a Nexus 5020, the default FCoE QoS class is 50%. I am not using FCoE so I would like to adjust this value to 0%. I switch complains and says I can't change default values. How should I go about getting around this to eliminate the FCoE queue and give 100% BW to default? Thanks.

    No. The default classloader is a builtin classloader in
    the JRE. You can use other classloaders.
    The java.net.URLClassLoader is provided in
    the JDK. That's the only one. Otherwise you
    should subclass ClassLoader and implement
    the loadClass method (f.i.
    loadClass("my.program") {
    String file="my.program".replace('.','/') + ".class";
    // find the file in classpath
    // read the class file in a byte[]
    return defineClass(byte[]);
    although this is not the advised way to do it. Search the web for how to implement a classloader directly.

  • How to change default thresholds for some metrics of all targets.

    Hi!
    We have a lot of servers which have to work hard.
    So, our OEM very often generates messages like these:
    "EM Alert: Critical:dbsora90.tsb.kz - CPU Utilization is 99.95%, crossed warning (80) or critical (95) threshold."
    "EM Alert: Critical:dbsora94.tsb.kz - Disk Device c8t60A9800043346C384C344A4A63516D6Ad0(ssd4) is 99.7% busy."
    "EM Alert: Critical:dbsora94.tsb.kz - CPU Load (Run Queue Length averaged over 5 minutes) is 20.78, crossed warning (10) or critical (20) threshold."
    I need to change default tresholds for mentioned metrics but I can't their defenition in SYSMAN.MGMT_*-tables or suitable settings in OEM GUI.
    And I have no time to edit treshholds manually for each target. )

    Modification of Metric Thresholds (as this is what you are referring to), should be done using the Metrics and Policy Settings link (to be found in the Target Home page).
    Don't mess around with the SYSMAN tables!
    Best thing to do here is to start using Monitoring Templates for this.
    Check:
    Oracle® Enterprise Manager Concepts
    11g Release 11.1.0.1
    http://download.oracle.com/docs/cd/E11857_01/em.111/e11982/toc.htm
    Regards
    Rob
    http://oemgc.wordpress.com

  • How to change default output XMLP report  to rtf/excel !

    I used xmlp 5.6.2
    The default output for report is pdf file.
    Now i want to change default output to rtf or excel file
    Please ! help me !

    Hi Brightsea,
    We customized the code in FNDRSRUN.fmb, But we are not able to get the output in RTF format.
    Our requirement is to display the report output in .rtf or .xls(Not required to defaultly as .rtf or .xls).
    we are getting the following error.
    "The XML page cannot be displayed
    Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
    Invalid at the top level of the document. Error processing resource 'http://galaxian.bluestar.cvg0:8000/OA_CGI/FNDWRR.exe?t...
    {\rtf1\ansi\deff0"
    ^
    Regards,
    suresh.

Maybe you are looking for

  • Can't render in Premiere 3.0

    Video is DV.  Program is 41 minutes.  I have selected the work area, clicked on timeline - render work area and let it roll.  Only the first 2 minutes show the green line and a few little sections through out.  There is no red line.  I've exported to

  • OBIEE 11g level based hierarchy

    Hi everyone, here is my problem in brief I made a level based hierarchy for Products, and I need to show the product name beside the product code in the last level in the hierarchy, the steps i made to reach this is as follows: 1- making the name and

  • Applet read server prop

    Hello I cannot figure out how to get an applet, to read a simple properties file that is at the same directory level as the html/jsp file that loads it. I have tried below and it fails with fnf, even though if I put in the full url name in the browse

  • How do I apply license key to trial?

    I have a License Key for Adobe Master Collection (6.0) for Mac.  How do I download the entire collection, and how do I apply the license to all the free trials?

  • Meaning of "EventType: IAS/PM/PROC_KILLED" on opmn.dbg file

    My customer is facing lots (dozens daily) of jvm crashes.. We're trying to determine why... We've enabled opmn debug and we see many of those messages on opmn.dbg Does the message mean 1. opmn issued the "kill" of the jvm? or 2. opmn found the jvm al