Is there a way to create custom clientlibs that only apply to a specific app?

for example, i'd like to add some custom widgets specific to a custom application, say apps/mycustom1, but i don't want these custom widgets available for my other custom application, say apps/mycustom2.  this is because i plan to have a www.mycustom1.com and www.mycustom2.com.  from what i've read so far, you can add your own custom clientlib widget by adding to the categories "cq.widgets".  but if i do this, my custom widget will show up for mycustom1 and mycustom2 apps.
on a somewhat related note, i've found that the following online doc: http://dev.day.com/docs/en/cq/current/developing/components/clientlibs.html, regarding overriding libraries in /libs, does not work.  i've tried creating my own apps/cq/ui/widgets clientlib, but all it did was include my apps/cq/ui/widgets clientlib along with the libs/cq/ui/widgets clientlib.  I have the clientlib set up the same way as the cq widgets clientlib and tried overriding the js.txt, but when loading my page, it pulls down both widgets.js in apps and libs.  are the docs incorrect here?
thanks,

I'm trying to do things "out of the box", which means i'm trying to reuse the existing clientlibs.  this means i'm making use of wcm/core/components/init/init.jsp, which includes the "cq.wcm.edit" clientlib.  i believe the easiest way for me to do this is for me to create a "custom.wcm.edit" category which will include my "mycustom1.widgets" along with "cq.widgets", but then this forces me to copy/paste the entire init.jsp into my apps folder.  i was hoping for a better way than to have to copy the entire init.jsp just to change up the specific categories used for a specific app.
as for your question, i got down this path as i was trying to add my own custom placeholders to display in edit mode as i've created my own custom components.  but with what i've read online, the way to do it is just to add to "cq.widgets" with my own widgets clientlibs, which would make it available to all apps in the system.

Similar Messages

  • Is there a way to create a button that links to a website?

    Is there a way to create a button that links to a website?
    I was reading up that it's possible to this with menus, and tracks but can you do it with a button and how?
    I am hoping to create a button that people viewing my discs on a computer can click on the link and their web browser will pop up and take them to a website.
    Any help is appreciated.
    Thanks.
    -Fraky

    dvd@ccess questions are being asked once a week on this forum, so I'll repeat why it's useless:
    - Mac users have to enable the feature in the preferences of DVD Player in order to for the links to work.
    - PC users have to install a small application on their PC, and they have to reboot the PC in order for the links to work.
    - On top of this, it's still unreliable, and may not work on some computers.
    It's a dog: Don't use it.

  • How do I create a rule that only applies to one mailbox?

    How do I create a rule that only applies to one mailbox? For example deleting the messages in the box after 10 days.

    You don't.  Rules are applied only to new incoming messages, or manually to the selected messages.  They cannot be used to delete messages after an amount of time.  You could create an AppleScript or Automator action that would do that and then use a recurring event in iCal to run that script.

  • Is there a way to create custom page numbering (ie 1, 2, 2, 3, 3, etc.)?

    I have a document that needs special treatment for its page numbering. This is a two page spread that I need to have the same page number on facing pages. The page numbering would look like 1, 2, 2, 3, 3, 4, 4 and so on. I have looked through the forums and all the help documentation I can find, and the only thing remotely related is doing a print merge of two documents - but this doesn't solve my need to have the numbering scenario in the actual document. Is there a way to create a macro or script that I can add to the master pages that can calculate the correct page number? This is an Instructor's Guide that is well over 300 pages so I'm looking for some way to automate the process.

    Just if I understood your need correctly... Automatic Page Number shows the number of the page, where center of its text frame lies. The actual number may be on other page. Please see attached screenshots:
    and this is what you need:

  • Is there a way to create custom instrument icons in GarageBand '09?

    Hello everyone!
    I am just curious if any of you might know a way to create custom instrument/track icons in GarageBand (I show an example of what I mean below)? For instance, Let's say one of the guitar tracks I've recorded was done with a Flying V and I'd like to reflect that in the instrument icon. Is that possible? If so, I'd love to know how I know it's nothing mega-important, and doesn't affect my recordings in any way, but is a great visual cue as to what that track might contain. Apple has given us some great default choices but it would be nice if we could use some of our own PNG files for this purpose too!
    Thanks for any info you may have, and have a great weekend!

    Dude thank you SO much for this! I searched and search and found no help at all, so this is an awesome find. The funny thing is I posted this question and got so busy with life in general that I had forgotten about it until just now when I fired up GarageBand LOL. Then I remembered asking this question and checked in. So glad I did because you totally hooked me up!
    THANKS AGAIN!!

  • Is there a way to create a function that concatenates

    Hello,
    I constantly find myself needing to create a forumla tha concatenates employee's ID, last name, and first name.  Is there a way to create a function in Crystal that will allow me to create a function that already has this concatenation in place?  I am using Crystal XiR2.
    Thanks,
    Z

    Hi Zack,
    Custom function is a function that can be used in any report and it doesn't depend on database. We have to provide the values in order to claculate what we want and basing on the values provided it calculates accordingly. We cannot use global variables in custom functions and also evaluation time functions (like whileprintingrecords,whilereadingrecords). So I think it is not possible to get the strings concatenated without passing the values.
    Alternatively you can go for a query using Add Command like this
    select IDFirstNameLastName as value from table
    Regards,
    Raghavendra

  • Is there any way to create custom views, like in Thunderbird & Evolution?

    Hi Folks,
    I have recently switched to Mac. Before this I was using Linux. For mail I used Thunderbird (TB) for many years, and then eventually switched to Evolution Mail (EM) for its smoother integration into Linux.
    On both TB and EM I revolved my work flow around custom folder views. As new email came in I would label it (on EM, or tag it on TB). I have numerous inboxes (email accounts) so I would generally be starting out in a smart folder that displays all mail in each inbox. I would most of the time view that smart folder with a Custom View filter in place. The filter would simply display ONLY mail with NO tags/labels.
    Once my filter inbox showed NO messages it meant I had labeled everything. I would them use other smart folders to display mail with certain labels AND NO "Completed" label. That way I could go to my "Reply ASAP" folder and see what needed my immediate attention. Each email I replied to I would then add the label COMPLETED and it would vanish from my view.
    I explain the above in case someone has specific suggestions on how to achieve a similar workflow on Mail.
    In short, what I am wondering is this:
    - Is there a built in way to filter a folder on the spot (with a drop down list of predefined and custom Views) --- I have looked and so far did not find this feature
    - Is there a way to do this with a script or add-on? I have looked at many and not found a suitable one yet.
    I am appealing to the knowledge of those with more experience in Mail. It is new to me.
    I am currently using TB on my Mac because it gives me the above feature. BUT it does not have the same degree of integration with the OS and other Mac specific apps that Mail has. Thus I am keen to stick with Mail.
    With thanks,
    Jonathan

    In addition to above:
    I have installed a trial of Mailtags. It certainly improves the tagging capability of Mail.
    I have also looked at the Smart Mailboxes and Smart Mailbox Folders.
    As far as I can tell, however, there is no option to set up a smart mailbox that ONLY shows message with NO LABEL or NO MAILTAG (as the case may be). I can display messages with particular TAGS but not NO tags.
    Is there any way to add more options to the Smart Mailbox filter system?
    Cheers,
    Jonathan

  • Is there a way to create customer smart controls?

    I use Mainstage to play worship music in a few different church venues and love the flexibility that Mainstage brings. I'm using an external instrument, Omnisphere on my Akai MPK88. I have each channel mapped to sliders on my keyboard, which is great for Omnisphere, however, if I want to switch insturments, for example to the Hammond B3, I would like be able to use the new smart controls feature and be able to see the controls for this instrument. Is there a way to keep my sliders on screen for Omnisphere, but have them change when I am using a native patch? Right now, the controls just get greyed out and go dead. Thanks!

    You can pick any Smartcontrol for any patch, but you can not create your own Smartcontrol from scratch.

  • Is there a way to create a rule that sends and Auto Response for a shared mailbox?

    I have a shared mailbox set up that receives emails that are sent to 3 different addresses:
    [email protected]
    [email protected]
    [email protected]
    I would like to create a rule that would send an auto response when someone emails one of these addresses.  However, I don't want an auto response sent to [email protected] so I can't just set up an "out of office" reply for the mailbox.
    Is there a way that I can create a rule to send an automated response to 2 of the 3 addresses?
    Nate

    Hi 
    we can enable the shared mailbox in ADUC and create Outlook rules for it in Outlook to achieve it. please follow these steps:
    1. In Active Directory Users and Computers, right-click the shared mailbox and click Enable Account.
    2. Configure the Outlook account for the shared mailbox in Outlook.
    3. Click Rules > Manage Rules & Alerts.
    4. Create a rule like the following format:
         Apply this rule after the message arrives
         Have server reply using a specific message
         Except if the subject contains specific words
         Select exception(s) (if necessary) of the Outlook Rule - (“except if from people or public group“)
    5. Apply the auto reply rules for this shared mailbox.
    Then users can receive auto reply of the shared mailbox except the exceptions we have set  when they send messages to this shared mailbox.
    Remember to mark as helpful if you find my contribution useful or as an answer if it does answer your question.That will encourage me - and others - to take time out to help you

  • Is there a way to create a guide that can't be cleared or removed?

    We are trying to create master logos that would have the name on it made with guides. This would give us a quick way of seeing if the master was placed. Can the guide be set so if someone clears guides this one would not be cleared? I think I know the answer just hoping someone might know of a way to do this.
    Thanks in advance.

    if the guides are on a locked layer they wont be deleted with the Clear Guides menu command.
    you can put your guides in a templated layer. the user can still unlcok the layer and delete them, but it would have to be more conscious.
    what i've done in my office when i need the same guide in every document is i made a script that creates this guides. so when someone delete them, it only took me a second to recreate them.

  • Is there any way to create a field that will auto increment i.e. document request id field?

    I would like to have a "Request #" automatically assigned to a form.  Is there any way to do that?

    We currently don't support this type of field. You can vote for this feature request here: http://forums.adobe.com/ideas/1047
    We use this to help prioritize our work.
    Randy

  • Is there a way to create a button that works the same as the ImageField?

    I am trying to create a button that acts like the ImageField tool. I want to be able to click on the button and it will direct me to browse for my photo that I want to attach.
    I am using LiveCycle. (I am a nooby and have limited skills when it comes to script)
    The ImageField function is to complex of a function for the use on my IPAD (PDF Expert APP). I can create a photo button using Adobe Form Creater and it works fine with the below script:
    event.target.buttonImportIcon ();
    This is a mouseup Action Event.
    My form that has been created in LiveCycle works perfectly on my IPad, except the photos. If I can simplify the function of the photos to act more like the Adobe Form Creater tool, then perhaps it will all work together.
    Any ideas, or is this just a waste of time? I have created the form over using Adobe Form Creater, but it has some limitations that make it not function as nice as LiveCycle's form.
    Thanks

    Not in Acrobat unless your image is already in the PDF format.
    This is a feature of forms created with LiveCycle Designer.

  • Is There A Way To Create Custom Presets For Sharing/Exporting?

    First-time iMovie users, long-time Mac enthusiast.
    VERY impressed with how easy this wonderful application is to learn, but the inability to save custom presets exporting to Quicktime is puzzling.
    iMovie6 does remember the settings I specified in "Expert Settings", but it'd be great to save it as "canned preset" that would show up w/all the other ones (Email, CD-Rom, Web, etc).
    Is this just another feature I've yet to discover, or is it possible at all? Or is it the first roadblock I've encountered where extra ca$h is needed for another product?
    many thank u's in advance.

    .. the key to using a Mac is to think less..
    this is EXACTLY the Mac-experience.. and that is, why PCusers often call us "computer illiterate" .. we don't want to know, what a bios is, a batch file, a bitrate..
    my father-in-law spends 90% of his time with re-installs, set-ups, drivers.. and in the meantime, I create movies and dvds ...
    maybe a bit of TOO much glory, but still saying it all:
    http://www.youtube.com/watch?v=No1MxAnHuJM
    come back here often, share your experiences, dare to ask any question.. there's no dumb question, just dumb answers
    have fun with iM and your Mac ...

  • Is there any way to create custom resolutions for my external monitor?

    I am currently trying to set-up a external monitor at its native resolution (1440x900@60Hz)
    Any ideas how I could do that?

    See the last paragraph of this support article.

  • Is there a way to create a swatch that defaults to overprint?

    Our workflow at work is set up with 3 custom spot colors that I used to draw fold lines or label cover panels on customer's proofs. As long as I remember to set those guides to overprint in indesign they will not print when I send the files through our workflow.
    However, sometimes I forget to check the overprint box,  so i'm wondering if there is a way to set these swatches up just like the black swatch so they default to overprint?
    Thank-you!

    ghprintingdesigner wrote:... so i'm wondering if there is a way to set these swatches up just like the black swatch so they default to overprint?
    You can't do this in the Swatches panel however you can create a way to aid your workflow using object styles.
    Create a new object style for each type of line/fill you will use - Fold, Cut, Spot UV - and then just attach that object style to your line/fill. In the object style box, you can select to set the stroke or fill to overprint. You can then copy these object styles throughout your documents or just set up a template with these already in place.
    You can then double check it worked by selecting your line/fill and opening up the Attributes panel to see if Overprint is selected.

Maybe you are looking for