Setting default parsys component and packaging them

Hi,
Is anyone familiar with how to enable default components to appear in a certain parsys?
Usually what I would do is manually go into Design Mode, find that certain parsys that I want to edit, click on the Edit, and locate the component under the "Allowed Components" list and check the box corresponding to enabling that component. I found out that when a component is checked to appear in that certain parsys, it will also automatically create a node (eg. mynode) at "/etc/design/default/jcr:content/mynode". And within this node, there will be a property called "components" that will determine what component will appear in this parsys. So I am assuming that this is the way to enable components in the parsys through the codes (without having to manually enable them at that webpage).
After which, I will package all the contents of "/etc/design/default/jcr:content/mynode" and proceed to deploy it in my client's server. The problem now is, the contents once installed (in client's server), is deleted once again. I suspect it has something to do with it being under jcr:content. Is my assumption right? And how do I solve this? And if I package "/etc/design/default" and deploy it, it seems to work fine. I cannot deploy the whole default folder though. This is because, I cannot confirm if there are other projects that adds their "default components" under that folder. By putting only my "/etc/design/default", there might be a possibility of removing my client's other project's default components.
To summarise, what I want is to package the contents of "/etc/design/default/jcr:content/mynode" and place it in my client's server, and make sure that it is not deleted (Assuming editing the contents of "/etc/design/default/jcr:content/mynode" is the way to create default parsys components).
Any detailed help will be appreciated! Thanks!

How do I create a site page from "http://localhost:4502/miscadmin#/etc/designs"? I am a little confused over here.
When I refer to the geometrixx site example, I can see that the "components" property inside "/etc/designs/geometrixx/jcr:content/examplepage/parsys" has my enabled component's path in it. But when I duplicate the exact same structure into "/etc/designs/myproject/jcr:content/myprojectpage/myparsys" in its components property, the component that I want to enable doesn't show up. Even when I created a new page, it doesn't show up. But when it is created in "/etc/designs/default/jcr:content/myprojectpage/myparsys", it works.
So as you can see, somehow my projects are directing the path to "/etc/designs/default", instead of "/etc/designs/myproject". How do I change the direction path? There seems to be no place to configure this.

Similar Messages

  • Set default font type and size in formcreated using Acrobat X Pro

    I have a word document that I used Acrobat X Pro to create a PDF and then a Form.  The Form has over 200 text fields.  Is there a way to globally set the font type and size to one type, for instance Arial 10 so that when someone opens the Form and fills it in, the global font type and size is preset         

    Are you talking about fields that you create manually or field created with the Form Wizard? Exactly what version of Acrobat are you using? What OS?
    In any case, using a script is a quick and easy approach:
    for (var i = 0; i < numFields; i++) {
        var fName = getNthFieldName(i);
        var f = getField(fName);
        if (f.type === "text") {
            f.textFont = font.Times;
            f.textSize = 9;
            // Other properties go here
    I use this type of thing all the time to quickly alter a form. Such a script isn't added anywhere, just executed (e.g., JavaScript console). Over time a developer can build up a collection of utility scripts that can do all sorts of things to dramatically speed up development. It would be bad if this option were not available.
    If there is a bug, it should certainly be addressed, so don't think I'm arguing against that, but I'm not seeing it on any of my systems. I can successfully set the default field properties by selecting "Use Current Properties as New Defaults". The Form Wizard does not use these defaults, but that's a different matter.

  • Hierarchy Viewer: Setting default zoom level and levelFetchSize

    I have couple of questions on Hierarchy Viewer:
    (1) Is it possible to set the zoom level to say 50% by default when the HV is rendered first time. By default the nodes are rendered at 100%, but I would like to render them at 50% by default - and on hover show the 100%. Is this doable ? User can then decide to zoom to 100% if desired.
    (2) Is it possible to change the levelFetchSize based on zoom level ? For example if the zoom level is 100%, levelFetchSize could be 4 but at 50%, it would be increased to 8 (since more real estate is available) ?

    It seems like the DVT by default zooms to fit the available real estate. But is it possible to set a fixed zoom level (say 75%) even if the node does have 100% zoom level. We would like to show the 100% zoom level only on hover to the node. But by default, wanted to to set the viewer to always show 75% or 50% zoom level.

  • How to set default file browser and web browser

    I am using openbox as the window manager and don't have a desktop environment.
    My file browser is pcmam file manager and my web browser is chromium.
    I add
    export BROWSER=/usr/bin/pcmanfm
    in .bashrc so that the system uses pcman file manager to open a local file from an external application. But it will also uses pcman file manager to open a url. I want the url opened in chromium, but chromium doesn't let me set the default web browser (as the picture shows blow).:(
    What shall deal with it?
    Thank you.

    ashesxera: Thanks for the pointers!
    After some hours of persistent puzzling I finally figured out how to make Thunderbird/Lanikai open URIs in Chromium instead of Firefox in the XFCE desktop environment.
    In fact I found two solutions that both work.
    1) The straightforward solution: make some changes to Thunderbird/Lanikai's prefs.js
    Add two string variables:
    string: network.protocol-handler.app.ftp; value: exo-open
    string: network.protocol-handler.app.http; value: exo-open
    string: network.protocol-handler.app.https; value: exo-open
    and importantly: change the values of the Boolean variables network.protocol-handler.warn-external.ftp network.protocol-handler.warn-external.http and network.protocol-handler.warn-external.https to 'true'.
    It turns out that for some unclear reason the standard Arch Linux Thunderbird/Lanikai package uses gnome-open to open URLs. The persistent popping up of Firefox was caused by some settings in .gconf that come with the gconfd package. I didn't find these values in gconf-editor.
    2) Change xml files in .gconf
    As I don't want to use Firefox as standard browser any longer, I wanted to get rid of these hidden settings in .gconfd so that "gnome-open [URI]" opens a webpage in Chromium.
    I succeeded in getting there by replacing firefox with chromium in the following files:
    .gconf/desktop/gnome/applications/browser/%gconf.xml
    .gconf/desktop/gnome/url-handlers/chrome/%gconf.xml
    .gconf/desktop/gnome/url-handlers/ftp/%gconf.xml
    .gconf/desktop/gnome/url-handlers/http/%gconf.xml
    .gconf/desktop/gnome/url-handlers/https/%gconf.xml
    .gconf/desktop/gnome/url-handlers//%gconf.xml

  • Will EC support setting default file type and Open With from file menu?

    The default file types I can live without, but at least allow for Open With on right click from Windows Explorer.
    I currently have EC set in the Open With programs list, but EC does not comply for any files I opt to open it with (.css, .php, .html etc).
    EC open but not the file I choose.
    Also, even though the above use case is not ideal when if I do attempt an Open With when EC is already open, a new application session starts instead of attempting to open in the currently active app frame. It would be ideal to allow for single app frame, multiple files when Open With is employed.
    Darrell

    Hey Darrell,
    Thanks for the feedback. How Edge Code treats files is definitely something we know isn't ideal and it's something we're looking at fixing soon. There's currently a story on the Brackets backlog that adresses the Open With issue - https://trello.com/c/GhF1Bgf9
    And it based on howit ranks in that priority it looks like we could potentially take that into Edge Code over the next couple of months.
    This is definitely a feature that we think is important before we consider ourselves 1.0 so it's high priority.
    =Ryan
    [email protected]

  • Making custom templates and packaging them.

    I have done several DVD's for clients/parents of thier childs soccer team videos. I normally make a custom menu for them. My question is, if i wanted to make this template and save it to give to someone else to use is there a way to do it. I guess it would be like making one to sell, but i am not selling it:) If anyone knows of a tutorial or anything that can help me i would appreciate it greatly. I am thinking about making generic templates fo several sports.

    Hi Zack,
    My guess would be if you do these in Photoshop, Live Type or Motion (as I do) give them these plus all associated files. If you have save these in DVD SP they are in Library>application Support>DVD SP>Templates. Hope this helps.
    Jeff
    Dual G4 1 GIG, G4 1.25 Laptop Macbook Pro 2.0   Mac OS X (10.4.7)  

  • Need to set default values for the fields plant and location in ME21N

    Hi All,
    i need to set default values for the fields plant and location in ME21N tcode.
    In accout assignment if we give 'A' then we need to create asset by clicking the Asset tab,there you have the fields plant and location.
    How to resolve this?
    Thanks in Advance

    hi .
    i needed to set default strorage location and plant in personal setting  in me21n.
    i solve it with this way.
    go to program SAPLMEPERS in se38.
    create new function in output with the sample name :MODULE ZTEST_001 OUTPUT.
    in this module write:
    if MEPOITEM_PROP-WERKS is INITIAL and  MEPOITEM_PROP-LGORT is INITIAL.
    MEPOITEM_PROP-WERKS = '1000'.
    MEPOITEM_PROP-LGORT = '0032'.
    endif.
    this is the solution.
    best regards.
    maryam

  • Obiee 11g . problem with set default as columnname in interaction tab

    Hi Obiee gurus ,
    I have small problem with set default option in interaction tab in column properties. actually my problem is , i changed one column bold save as set default option bold and how to revert back to my column option. when i create new analysis with same name . it takes set default option for that column.
    can Please give some suggestion for this problem.
    regards
    Srinivas

    Hi Srinivas,
    i guess this will be same for 11G
    Refer
    http://blogs.oracle.com/siebelessentials//2008/08/remove_systemwide_default_sett.html
    thanks,
    Saichand.v

  • Set default dates for custom infotypes

    Hi .
    can anyone suggest me to how to set default dates endda and begda  to an custom infotypes.
    early rsponses heghly appreciate.
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on Aug 23, 2011 1:33 PM

    If you want the default dates to show when creating or Copying a record, use Customer Exit ZXPADU01

  • Setting default Finder preferences

    Hi, I recently upgraded t 10.7.2 and I was wondering if there was a way to set default finder arrange and view preferences.  I upgraded form SL and I was able to do this (all finder windows would open in icon view with the files arranged by kind).  Is there a way to set these preferences in Lion?  I have gone to the View Options and selected Arrange to "Kind" and Sory by to "Name" and then selected "Use as defaults" at the bottom, but these are not maintained in subsequent finder window (they revert back to no settings).  Do I have to do this for every single finder page?

    So, I ended up erasing and reinstalling and this did not fix the problem (even before I migrated).  I downloaded a new file from the App store because I thought my first one was corrupt, but there is not difference.  Maybe what I envision is not possible in Lion.  Here is what I do to set up my defaults.
    Step 1: Open my main directory.
    Step 2: Set preferences in view options.
    Step 3: Open Alpha.  The folders appear to be organized appropriately.
    Step 4: Open Users.  The files are no longer organized appropriately.
    Step 5: Check setting.  The option to set default is grayed out and the settings are no longer what I set before.
    So, I change these setting and open my user folder and make some test files.  The test files do not follow the view options either.
    Message was edited by: sparsel1

  • When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page.

    When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page. I don't want to have to check off an additional 5 or 6 attributes each time I print out contact information. Is there a way to change the default setting for printing lists, so it is not just "phone," "photo," and "job title?"

    I have a user who wants to do this same thing. I did not find any way either to default the attributes to anything other than what you see the first time. Seems like such a trivial thing, hard to believe they do not allow it. I did find a program for this called iDress but I can't seem to download it from any links on the Internet. Not sure if it is free or not, but it was recommended by a link on the Mac support site.

  • Is there a way of aligning the images in iweb photoalbums other than have them be a square?I have them at same height and resolution but htere is a default that shrinks them and aligns them at the bottom.Thanks.

    Is there a way of aligning the images in iweb photoalbums other than have them be a square?I have them at same height and resolution but htere is a default that shrinks them and aligns them at the bottom.Thanks.

    So how did you do it?
    by understand what iweb widgets do, in this case setting gridEntry widget's scalMode preference from fill to fit.
    then reset the displayed image, so it fits in the display area even if it's portrait aspect.
    however, i found some glitches in gridEntry widget that's quite strange... but all fix-able.
    perhaps, iweb experts (whose had poked at my example) here can chime in.

  • How to Set default value for taxonomywebtagging control with terms and nested terms

    Hi,
    I have created taxonomy control in custom aspx page and I am able to select terms but I am trying to setup default value to that control.
    Can anybody let me know how to set the default value for TaxonomyWebTagging control in custom.aspx page with nested terms?
    Any help would be greatly apprecited.
    Control code in aspx page:
    <td>
    <asp:Label runat="server" ID="lblLanguages">Field A: </asp:Label><asp:Label runat="server" ID="rfvlblLanguages" CssClass="errorMsg" ForeColor="Red">*</asp:Label>
    </td>
    <td>
    <Taxonomy:TaxonomyWebTaggingControl ID="term" Width="385px" runat="server" /></td>Mapping metedata code:TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    //Set the Business Unit Field
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GROUPName"];
    TermSet termSet = group.TermSets["TERMSETNAME"];
    Term term = termSet.Terms["TermA"];
    Guid termGuid = term.Id;
    term.SspId.Add(termStore.Id);
    term.TermSetId.Add(termSet.Id);
    term.AllowFillIn = true;
    term.AnchorId = countryGuid;
    term.IsMulti = true;
    Thank you.
    AA.

    Hi,
    According to your description, you want to set default value for TaxonomyWebTaggingControl.
    I have a test in my environment. It could be achieved by setting the Text Property of TaxonomyWebTaggingControl.
    Here is the code snippet:
    TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
    SPSite site = SPContext.Current.Web.Site;
    TermStore termStore = session.TermStores["Managed Metadata Service"];
    Group group = termStore.Groups["GroupA"];
    TermSet termSet = group.TermSets["A"];
    Term term = termSet.Terms["A1"];
    TaxonomyWebTaggingControl1.SspId.Add(termStore.Id);
    TaxonomyWebTaggingControl1.SSPList = termStore.Id.ToString();
    TaxonomyWebTaggingControl1.TermSetId.Add(termSet.Id);
    TaxonomyWebTaggingControl1.TermSetList = termSet.Id.ToString();
    TaxonomyWebTaggingControl1.AllowFillIn = true;
    TaxonomyWebTaggingControl1.IsAddTerms = true;
    TaxonomyWebTaggingControl1.IsMulti = false;
    TaxonomyWebTaggingControl1.Text = string.Format("{0}|{1}", term.Name, term.Id.ToString());
    Here is a detailed article for your reference:
    http://blog.bugrapostaci.com/2010/09/23/taxonomywebtaggingcontrol-sharepoint/
    Feel free to Reply the test result.
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Patrick Liang
    TechNet Community Support

  • How do you get firefox 4 to save tabs and windows and restore them? Don't say set preferences to open them on startup or use restore previous session under history; those do not work. Or is it no longer possible to save windows and tabs?

    Question
    How do you get firefox 4 to save tabs and windows and restore them? Don't say set preferences to open them on startup or use restore previous session under history; those do not work. Or is it no longer possible to save windows and tabs?

    '''IT'S A EASY AS IT SHOULD BE.'''
    This is essentially paulbruster's answer, but I've added the steps some might assume, but which aren't so obvious to those of us who are new at this, like me.
    This solution might ''appear'' to be long and complicated, but after you follow the directions once, you'll find it's quick, clean, and simple. Almost like they designed it this way.
    # If you haven't already, open a bunch of tabs on a few different subjects.
    # Click the List All Tabs button on the right side of the tab strip.
    # Select Tab Groups.
    # Create a few groups as described [http://support.mozilla.com/en-US/kb/what-are-tab-groups#w_how-do-i-create-a-tab-group here] , i.e. just drag them out of the main thumbnail group into the new groups they create.
    # Now click on any thumbnail in any new group, but not the original big default group you may have left some tabs in.
    #A regular Firefox window will open, but'' only the tabs in that group will be visible.'' You also now have the Tab Groups button in the tab strip.
    # Right click on any tab, and there it is: Bookmark All Tabs. Click on it in the list of options. Or you can hit Ctrl+Shift+D instead and go straight to the dialogue box from the tab without any clicks. But don't go looking for this familiar option anywhere else, 'cause it's not there.
    # Now pick an existing folder or create a new one just like you would have before and '''shlpam!''' there they are. New folders are supposed to end up in the Unsorted category all the way at the very bottom, but for some reason mine show up at the bottom of my last sorted category.
    # DO NOT CLICK THE UPPER-RIGHTMOST X to close this group of tabs. This will close ALL of your tabs in all groups, currently visible or not. At least it asks if you're sure first. Instead, click your new Tab Groups button to return to the Boxes 'O Thumbnails window, and click the X in the group box you just bookmarked.
    # Click on another thumbnail to repeat the process with another group, or click on a thumbnail in the big default box to return to the original FF window. You can also click the Tab Groups button at the upper right, or Ctrl+Shift+E, which will also get you ''into'' the Boxes 'O Nails window ''from'' FF.
    # So now when you reopen FF after shutdown, simply select your folder from your Bookmarks and Open All in Tabs. '''Just like paulbruster said. '''

  • Pass variable and set default value based on user's group

    Hello
    I'm using SharePoint 2010 and SQL 2012. I need to send a variable to the page and based on its value, set default value for a drop down list and send it to other web part to filter the data. Is it possible for certain users to send that value as a default
    and limit user to see only this value in the text field or drop down list; for others - to allow to see the drop down list, but also set the default value for that list?
    The main page was designed in SharePoint designer, using web parts (aspx page). I had setup a connection to Active Directory and already have the code to get user's groups and based on their group, I have that variable pulled into the web page for further
    use. But I don't know how to pass that value as a default value to the web part (currently using SharePoint Filter web part). When I tried to set a default value for the web part - it automatically puts the quotation marks around the name of the variable
    and shows it as a text instead of showing the value of the field.
    Thank you!
    P.s. I have limited knowledge of SharePoint and need guidance (links, examples, recommendations)!
    Alla Sanders

    Thank you for your response. I'll try to give you more details. On PageA I check user's groups and based on the group, assign the value and pass it to the next page (no input from the user, all done behind the scene and user is redirected to PageB).
    On the next page I read that value and would like to send it to the SharePoint List Filter Web as a default value, as well as send it to another web part that displays the list from SQL, filtered using that default value. Ideally, if the user is from Group
    A, I'd like for them to have only one value in that drop down list; if user is from Group B - give him drop down list with 40 items to choose from. Below there is a part of the code and variable fnum has the value from PageA (if I print the value on the screen
    - I do see that it has correct value, so the code that gets groups from Active directory works correctly). If I assign fnum as a default value of the list, it shows "fnum" instead of the value of variable fnum. I connect to SQL database, using external
    content - so the other list that I'm filtering based on the value in that drop down list - is XSLT Data View Web part. I also have 2 more filters on that page, that user will have full access to and based on their input, it is also sent to the XSLT web part
    to filter out more data. Since one of the filters is the date and I am filtering data starting from the date that user chooses - XSLT is the only web part that I was able to make it work with.
    I looked at the link you provided (thank you). It is using Content Query Web part. Will it work with external content, as well as accepting multiple filtering, including custom starting date? I appreciate your help!
    <%
    string fnum = Request.QueryString["field1"];
    %><table cellpadding="4" cellspacing="0" border="0" style="height: 1000px">
    <tr>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" colspan="2" valign="top" style="height: 101px">
    <WebPartPages:WebPartZone runat="server" Title="loc:Header" ID="Header" FrameType="TitleBarOnly"><ZoneTemplate>
    <WpNs0:SpListFilterWebPart runat="server" FilterMainControlWidthPixels="0" RequireSelection="False" ExportMode="All" PartImageLarge="/_layouts/images/wp_Filter.gif" AllowHide="False" ShowEmptyValue="True" MissingAssembly="Cannot import this Web Part." AllowClose="False" ID="g_1ccc4bca_3ba1_480b_b726_adfdb1e9e02d" IsIncludedFilter="" DetailLink="" AllowRemove="False" HelpMode="Modeless" AllowEdit="True" ValueFieldGuid="fa564e0f-0c70-4ab9-b863-0177e6ddd247" IsIncluded="True" Description="Filter the contents of web parts by using a list of values from a Office SharePoint Server list." FrameState="Normal" Dir="Default" AllowZoneChange="True" AllowMinimize="False" DefaultValue="fnum" Title="Facilities List Filter" PartOrder="2" ViewGuid="2da5d8db-6b55-4403-80a8-111e42049f8b" FrameType="None" CatalogIconImageUrl="/_layouts/images/wp_Filter.gif" FilterName="Facilities List Filter" HelpLink="" PartImageSmall="/_layouts/images/wp_Filter.gif" AllowConnect="True" DescriptionFieldGuid="2d97730a-cd0d-4cb9-8b55-424951201081" ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="True" TitleIconImageUrl="/_layouts/images/wp_Filter.gif" ChromeType="None" SuppressWebPartChrome="False" IsVisible="True" ListUrl="/Lists/FacilitiesList" AllowMultipleSelections="False" ZoneID="Header" __MarkupType="vsattributemarkup" __WebPartId="{768E2035-0461-4A09-8DDD-CA7020C2B23D}" WebPart="true" Height="" Width="615px"></WpNs0:SpListFilterWebPart>
    Alla Sanders

Maybe you are looking for

  • SQL Server Express 2014 Installation Completes with Failures and Repair Does Nothing to Help

    I am attempting to install SQL Server Express 2014 on a development machine and as usual old versions of SQL and the remnants of them are a plague to the installation. I have used to Revo Uninstaller to scrub the old installations and with my first a

  • Notes History within WEBCLIENT IC

    All, Within the interaction history section of the WEBCLIENT IC, after confirmation of business partner and IBase,  a "Notes History" link is available. The "Notes History" seems to be collecting logs of notes which were entered within a transaction

  • Using Echosign or Adobe Reader to get signatures

    Hello. I would like some feedback on which way to get a document signed in multiple places by multiple parties. I have a secure document that is approximetly 16 pages long that requires signatures by three or more parties. I created an account with E

  • Retrieving files stored in KM

    Hi all, I have a requirement to put BI webreports on the Portal (Knowledge Management section) using the Information Broadcaster (part of BI70/nw2004s). Then an external application wants to fetch these reports (html files, gifs etc) and ftp them to

  • Adobe Reader error 2502 & 2503

    I wanted to uninstall adobe reader & reinstall it but I got error messages 2503 & 2502. I went ahead & printed my document. shouldi worry about correcting this?