Portlet Preferences - Any way to define templates or bulk load ?

Hi,
I have a question regarding portlet preferences. We have need to store metadata
about a portlet and this metadata is the same for all portlets inside the portlet.
As we will have in excess of 300 portlets which is expected to rise to around
2000 - 3000 in the future, it will be incredibly tedious for the portal admin
to create the preferences for each one (for such items as portlet owner, portlet
administrator etc)
Is there a template facility (a bit like user profiles) where we can set up the
definition with fields and values etc, and apply to a portlet. Or failing that
a bulk load capability where we can just populate the DB using the portlet_definition_id
or portlet_instance_id in the preference tables ?
We are on SP2 by the way.
TIA
Martin

Thanks Subbu,
That worked.....can you keep us updated on any movement with the SPI as this is
something that of us very definite importance to us.....
Thanks for the quick response
Martin
Subbu Allamaraju <[email protected]> wrote:
Martin,
For some reason in Workshop i dont seem to be able to add preferencesto the portlet
i am creating. For example i create a JSP and then right click 'GeneratePortlet'
and it creates me the .portlet file. But when i try to access the preferences
menu it just gives me 'Remove' and the list is empty. It does not offerthe 'Create'
Option. I must be missing somethingTry dragging "Preference" from the palette.
Also even if we could do it at create time in workshop these will bethe same
for all portlets in the Portal and thus this would need to be doneevery time
manually and that would leave room for mistakes and people missingfields etc.
We are looking at a very large number of portlets...
What would be really nice is to define a 'preferences' property setas user profile
etc and then
just apply it...thus not leaving room for errors etc.....
At this time, the API does not support this scenario. We're considering
an SPI for a future release, and we'll make sure this scenario gets
addressed.
Subbu
Any thoughts.....?
Subbu Allamaraju <[email protected]> wrote:
Martin,
Have you considered specifying preferences for each portlet while
creating the portlet in WLW? The recommended approach is to create
preferences while creating the portlet as the portlet developer ismore
likely to know what preferences are required and the implications.If
the default values entered by the portlet developer are meaningful,
portal admins won't have to change these values.
Subbu
Martin Porter said the following on 12/17/2003 07:12 AM:
Hi,
I have a question regarding portlet preferences. We have need to storemetadata
about a portlet and this metadata is the same for all portlets insidethe portlet.
As we will have in excess of 300 portlets which is expected to riseto around
2000 - 3000 in the future, it will be incredibly tedious for the portaladmin
to create the preferences for each one (for such items as portlet
owner,
portlet
administrator etc)
Is there a template facility (a bit like user profiles) where we canset up the
definition with fields and values etc, and apply to a portlet. Or
failing
that
a bulk load capability where we can just populate the DB using theportlet_definition_id
or portlet_instance_id in the preference tables ?
We are on SP2 by the way.
TIA
Martin

Similar Messages

  • Is there any way to get an application to load automatically on server start?

    We're trying to implement a load-balancing mechanism between FMS hosts in a virtual "farm".  The mechanism we're using is to have the FMSs periodically send "load" data (along with a timestamp) to an application server.  That server will then use that load information and timestamp to detect when an FMS server has gone down and to make stream assignments to FMSs.
    Right now, I've implemented this code via a setInterval() in live/main.asc.  I've added a "return false" to Application.onAppStop() to (according to the docs, I haven't tested this yet) keep the server from shutting down an idle instance.  So I've left with a "chicken and egg" issue: how do I get the interval running before the first request hits the application (and forces the load of the application)?  I've tried putting the setInterval in onAppStart() and as a global.  In both cases, it only gets executed after application is loaded.
    So, is there any way to force an application to load (via a config file parameter or local command-line)?

    Hi,
    I am sorry i have not read the full details what you wrote, but if you are looking for loading of application on start of the server, there is a configuration tag in application.xml called loadonstartup and by default it is set to false. Set it to true to enable it and all the apps will be loaded on server start.
    alternatively , you can make an application.xml inside the application folder and set this tag to true, to have this applied only to a particular application,
    Also, the fms admin console can launch a new instance of an app without any connection being made initially.
    Thank you !

  • Sony 50mm f1.4 ZA SSM Lens Profile in 8.4 RC  any way I can download file and load into Lightroom ?

    Sony 50mm f1.4 ZA SSM Lens Profile in 8.4 RC  any way I can download file and load into Lightroom ?

    Short answer. No.

  • Is there any way to force the applet to load the file without using cache?

    Hi,
    I have the applet that renders some data from a file specified as the parameter. The problem is that the user can do something, that changes the input file and reloads the page, but the applet renders old data (from browser cache most probably)
    Is there any way to force the applet to load the file without using cache?
    Regards,
    Zdenek

    The initial view (IV) settings within a PDF file are static tags - they can't be made to dynamically-adapt based on the window dimensions,it's the renderer (Acrobat, Reader, or whatever else is opening the file) that decides if and how it will follow the IV requested by the file header.
    It would be possible to use a Page Open action on the first page of the file, which does some nasty math with the various doc.*WindowRect objects to work out how much "wasted" space there is, and then set the doc.layout and doc.zoomType properties - but page actions are a different concept to IV as the zoom will reset itself every time that page is viewed. Users don't like their application apparently fiddling with the zoom level without being told to!

  • I bought a used iPod classic. Is there any way  to delete the music already loaded on the device?

    Is there any way to delete songs from a device?   I bought a used iPod classic and do not want to mange the songs that are already on it

    Hello 1moloom,
    I'd recommend restoring the the iPod, as this will remove all content and restore all settings to factory defaults.
    Restoring iPod to factory settings
    http://support.apple.com/kb/HT1339
    Cheers,
    Allen

  • Any way to have a list of "most often used folders"?

    is there any way to define a list of folders most frequently accessed (by opening them or saving files to them) in the last X days? I'd like to have such a list in my dock, or on the left panel of Finder windows that open up (e.g., for file saving). Is there any way to do that? I work on stuff that's divided into a pretty deep folder structure and instead of a static Favorites list (which would get too unwieldy), I'd like to have it dynamically figure out for me which are the most commonly-used folders for the recent week or whatever. Thanks in advance,
    Mike

    MartinR wrote:
    When you create the smart folder, at the top of the window you will see a selection for
    Search: This Mac (or) <your user folder>.
    mine has only two choices: "This Mac" and "Most common folders" (which is the name of the smartfolder I've created). It doesn't say "your user folder". How do I add that there?
    and, any way to limit the smart search list to 20 entries?
    Mike

  • Replacing library with template deletes portlet preferences

    Hi,
    If I have to deploy a new version of our portal, with changes to the
    .portal file I have to make a dummy desktop from the .portal file, and
    then say yes to replace library with template. If I do this however all
    my portlet preferences are resat to their default values. Are there
    anyway to avoid this, or another way to get the library updated with the
    newest version, without having to make a dummy desktop.
    /Steen

    Hi,
    If I have to deploy a new version of our portal, with changes to the
    .portal file I have to make a dummy desktop from the .portal file, and
    then say yes to replace library with template. If I do this however all
    my portlet preferences are resat to their default values. Are there
    anyway to avoid this, or another way to get the library updated with the
    newest version, without having to make a dummy desktop.
    /Steen

  • User Profile Lost - Any Way to Recover Defined Sites

    I turned on my PC yesterday to discover that my windows XP
    profile was corrupted and had to create a new one.
    As a reult my user NTUSER.DAT file is now lost which holds
    many of my PC settings.
    Ive just booted up Dreamweaver and to my horror, all my
    defined sites (about 40) have vanished !
    I ve just realised theres an inport and export sites option
    in the define sites menu which I presume is for saving this info.
    If I hadnt previously exported and saved this info, Is there
    any way to recover it from a previous PC archive - I.e where would
    such files be saved outsude of my NTUSER.DAT file.
    Thanks
    John

    The site definitions are stored in the Windows Registry. If
    you have never
    exported them, then I don't know if you'll be able to find
    them in the
    Registry, but that's the first place I would look. Be
    careful!
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "John Carter" <[email protected]> wrote in
    message
    news:f40nrv$nud$[email protected]..
    >I turned on my PC yesterday to discover that my windows
    XP profile was
    > corrupted and had to create a new one.
    > As a reult my user NTUSER.DAT file is now lost which
    holds many of my PC
    > settings.
    >
    > Ive just booted up Dreamweaver and to my horror, all my
    defined sites
    > (about
    > 40) have vanished !
    > I ve just realised theres an inport and export sites
    option in the define
    > sites menu which I presume is for saving this info.
    > If I hadnt previously exported and saved this info, Is
    there any way to
    > recover it from a previous PC archive - I.e where would
    such files be
    > saved
    > outsude of my NTUSER.DAT file.
    >
    > Thanks
    >
    > John
    >

  • Is there any way, to create with Adobe Muse HTML-Mail Templates?

    Is there any way, to create with Adobe Muse HTML-Mail Templates? or to convert the createt page to only html content? any other tool like an website copyer?
    tanks for help!

    Off the top of my head, you should be able to create mail templates in muse BUT it will require  very basic html/css knowledge on your part. I am assuming you want to do just the signature?
    Create the design you would like on one page, dont do any kind of styling in a master page. Then export the site into a folder. Open the html file with notepad/ textedit and then copy just the code for JUST the template. Throw it in you mail app of choice and it should work.
    This seems like something that would be done alot quicker in dreamweaver in design view.
    PLEASE NOTE: ^i could be completely wrong - but in theory this may work.

  • Thunderbird puts a new message at the end of the thread. Is there any way of changing this preference to listing new message at top of the thread?

    Thunderbird puts a new message at the end of the thread.
    Is there any way of changing this preference so that new messages are displayed at the top of the thread.
    This is is more logical. You need to see new message in thread directly, rather than scanning to end of thread to see what is there.

    No it is not possible. The newest message is attached to the message it is in reply to.
    The conversations add-on might better suit your needs. see https://addons.mozilla.org/thunderbird/addon/gmail-conversation-view/?src=ss

  • Any way to turn off errors when updating pages from the template?

    I'm using Dreamweaver MX. My site is huge. It's an intranet
    spanning dozens of departments. Some of those departments have
    subsites that don't fall under the intranet's control, although
    they are embedded within our site's folder structure. When I make a
    change to the template and update pages, every time I hit one of
    those subsites I get tons of errors, from "template not found" to
    "unmatched body tag". The errors that pop up each have to be
    clicked on before the updating can continue. I get hundreds of
    these.
    Is there any way to make errors not pop up while updating
    pages from the template? Or even to exclude certain folders from
    being checked? (Cloaking doesn't do it.)

    > I'm using Dreamweaver MX. My site is huge.
    Both of these are problems, I'm afraid. Combining that with
    templates is
    really trouble.
    > "unmatched body tag".
    Errors such as this are definitely caused by errors in your
    page itself.
    Can you show me a page where you would get this?
    > Is there any way to make errors not pop up while
    updating pages from the
    > template? Or even to exclude certain folders from being
    checked? (Cloaking
    > doesn't do it.)
    Valid code will not produce these errors. Unfortunately, the
    only way to
    avoid them is to remove any validation hiccups from your
    pages.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "abna" <[email protected]> wrote in message
    news:f14ue2$pk5$[email protected]..
    > I'm using Dreamweaver MX. My site is huge. It's an
    intranet spanning
    > dozens of
    > departments. Some of those departments have subsites
    that don't fall under
    > the
    > intranet's control, although they are embedded within
    our site's folder
    > structure. When I make a change to the template and
    update pages, every
    > time I
    > hit one of those subsites I get tons of errors, from
    "template not found"
    > to
    > "unmatched body tag". The errors that pop up each have
    to be clicked on
    > before
    > the updating can continue. I get hundreds of these.
    >
    > Is there any way to make errors not pop up while
    updating pages from the
    > template? Or even to exclude certain folders from being
    checked? (Cloaking
    > doesn't do it.)
    >

  • Is there any way to use a For Each Loop for each property of an User Defined Type?

    Is there any way to use a For Each Loop for each property of an User Defined Type? That would be very handy!
    Jorge Barbi Martins ([email protected])

    Alas, no, not in VBA.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Is there any way to know that status of DEFINE variable?

    Hi,
    I have a list of scripts that is executed to create my baseline database. At the beginning of the script execution, we have a SET DEFINE OFF and at the end we put SET DEFINE ON. During one of the scripts, we deliberately SET DEFINE ON and we forgot to SET DEFINE OFF at the end of the script. Consequently, the following scripts started failing without error notification because they contained '&' in the INSERT query. I have the following queries:
    1. Is there any way to know the status of the DEFINE variable at the beginning of the script?
    2. Since the oracle gives a user interrupted error, the script execution process does not terminate with error. Instead, it continues executing the next scripts. Is there a general way to capture such errors and terminate the script execution. We already have WHENEVER SQLERROR and WHENEVER OSERROR in our script execution process.
    Regards
    Kunal

    Hi, Kunai,
    Welcome to the forum!
    953495 wrote:
    Hi,
    I have a list of scripts that is executed to create my baseline database. At the beginning of the script execution, we have a SET DEFINE OFF and at the end we put SET DEFINE ON. During one of the scripts, we deliberately SET DEFINE ON and we forgot to SET DEFINE OFF at the end of the script. Consequently, the following scripts started failing without error notification because they contained '&' in the INSERT query. I have the following queries:
    1. Is there any way to know the status of the DEFINE variable at the beginning of the script?Whether it's at the beginning of a script, later in the script, or not in a script at all, the SQL*Plus command
    SHOW DEFINEtells you if DEFINE is ON or OFF.
    If DEFINE is ON, it will produce something like:
    define "&" (hex 26)If DEFINE is OFF, it will produce
    define OFF
    2. Since the oracle gives a user interrupted error, the script execution process does not terminate with error. Instead, it continues executing the next scripts. Is there a general way to capture such errors and terminate the script execution. We already have WHENEVER SQLERROR and WHENEVER OSERROR in our script execution process.Do you really need to capture those errors? Why not just prevent them? It sounds like you want to make sure DEFINE is OFF at a certain point. To do that, just say
    SET  DEFINE  OFFRegardless of whether DEFINE was ON or OFF before you issue that command, you can be sure it will be OFF after that.
    I hope this answers your question.
    If not, post a complete test script (or set of scripts) that people can run to re-create the problem and test their ideas.
    Point out where the scripts you post are not doing what you want, and describe, with specific examples, what you want it to do in those places.

  • In my system preferences, my sharing folder will not let me access it. All my photo booth share button is grayed out. One more thing, My photoshop will not let me import any photographs.  I believe this all has to do with this.  Any way to fix this issue?

    In my system preferences, my sharing folder will not let me access it. All my photo booth share button is grayed out. One more thing, My photoshop will not let me import any photographs.  I believe this all has to do with this.  Any way to fix this issue?

    The iTunes Store has no phone support and never has. Contacting them has always been via web form. Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • Is there any way to re-install an older version of pages on my computer? The new version lost a lot of the templates I enjoyed using...

    Is there any way to re-install an older version of pages on my computer? The new version lost a lot of the templates I enjoyed using...

    If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09 unless you deliberately deleted them.
    If you did delete them & have a Time Machine backup that includes your Applications folder you can restore them from there. In the past the iWork apps have not worked well when copied from another drive, but some users have reported that this works for them, especially if the apps were originally purchased from the Mac App Store. If you originally installed them from the retail disk, find the disk & reinstall them & then update to iWork 9.3.

Maybe you are looking for