Is it possible to make "batch" update of a web template property?

Hello,
We have about 200 web templates that we've created using the Web Application Designer. In templates there is a property called: "Do not display System Messages" which supresses the loading messages when these web templates are running in a browser.
In all our 200 web templates this property is not checked and we would like to check it. Is there any way to make a batch update on all the web templates at once instead of doing it manually for each one?
Roy

Mac OS X will not run in a virtual machine, except as 10.6 Server:
https://discussions.apple.com/docs/DOC-6841

Similar Messages

  • Updating List View Web Part property in page

    I have a List View web part (In the page > Add web part > App > document library name). I need to update the TitleUrl property of this web part through C# code.
    The SaveChanges() method below works for my visual web parts, but not for the List view webpart. I get an error saying: Exception has been thrown by the target of an invocation
    webpartManager = myPage.GetLimitedWebPartManager(System.Web.UI.WebControls.WebParts.PersonalizationScope.Shared);webPart.TitleUrl = titleURL;webpartManager.SaveChanges(webPart);
    I did a casting as below
    XsltListViewWebPart listViewWebPart = (XsltListViewWebPart)webPart;listViewWebPart.TitleUrl = titleURL;webpartManager.SaveChanges(listViewWebPart);
    (Please note that casting to ListViewWebpart instead of the XsltListViewWebpart gives a invalid cast exception, which is the reason why I cast it to XsltListViewWebpart) 
    But I get the error at SaveChanges() method.
    An exception of type 'System.Reflection.TargetInvocationException' occurred in Microsoft.SharePoint.dll but was not handled in user code
    The error description is as below
    >    at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[]
    > arguments, Signature sig, Boolean constructor)    at
    > System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj,
    > Object[] parameters, Object[] arguments)    at
    > System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags
    > invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  
    > at System.Reflection.RuntimePropertyInfo.GetValue(Object obj, Object[]
    > index)    at
    > Microsoft.SharePoint.WebPartPages.BinaryWebPartSerializer.DoesPersonalizedPropertValueMatchDefaultValue(SPPersonalizablePropertyEntry
    > spPersonalizablePropertyEntry, Object value, Control defaultControl)  
    > at
    > Microsoft.SharePoint.WebPartPages.BinaryWebPartSerializer.Serialize(PersonalizationScope
    > scope, BinaryWebPartSerializerFlag binaryWebPartSerializerFlags,
    > BinaryWebPartSerializerWriter writer)    at
    > Microsoft.SharePoint.WebPartPages.BinaryWebPartSerializer.Serialize(SerializationMode
    > mode, BinaryWebPartSerializerFlag binaryWebPartSerializerFlags,
    > SPSerializationBinderBase serializationBinder,
    > BinaryWebPartSerializerWriter writer)    at
    > Microsoft.SharePoint.WebPartPages.BinaryWebPartSerializer.Serialize(SerializationMode
    > mode, BinaryWebPartSerializerFlag binaryWebPartSerializerFlags,
    > SPSerializationBinderBase serializationBinder)    at
    > Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChangesCore(SPLayoutProperties
    > layoutProperties, Boolean httpGet, Boolean saveCompressed, Boolean
    > skipRightsCheck, Boolean skipSafeAgainstScriptCheck, WebPartTypeInfo&
    > newTypeId, Byte[]& newAllUsersProperties, Byte[]&
    > newPerUserProperties, String[]& newLinks)    at
    > Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChangesInternal(SPLayoutProperties
    > layoutProperties, Boolean skipRightsCheck, Boolean
    > skipSafeAgainstScriptCheck)    at
    > Microsoft.SharePoint.WebPartPages.SPWebPartManager.SaveChanges(Guid
    > storageKey)    at
    > Microsoft.SharePoint.WebPartPages.SPLimitedWebPartManager.SaveChanges(WebPart
    > webPart)    at
    > WSP.ABC.ABC.ABCWindow.<>c__DisplayClass5.<ChangeWebPartProperties>b__4()
    > at
    > Microsoft.SharePoint.SPSecurity.<>c__DisplayClass5.<RunWithElevatedPrivileges>b__3()
    > at
    > Microsoft.SharePoint.Utilities.SecurityContext.RunAsProcess(CodeToRunElevated
    > secureCode)
    Tried casting back as below
    webpartManager.SaveChanges((System.Web.UI.WebControls.WebParts.WebPart)listViewWebPart)
    but still the error at SaveChange() is there.
    AllowUnsafeUpdates is set to true within this block and code runs in elevated privileges.

    Hi Ahamed,
    According to your description, there is an issue when you try to update the TitleUrl property of a List View Web Part.
    For a better troubleshooting, I suggest you do as the followings:
    1. Debug your code step by step and make sure every object and variable is valid.
    2. Here is a code snippet about update web part property programmatically:
    SPWeb web = SPContext.Current.Web;
    SPFile file = web.GetFile(HttpContext.Current.Request.Url.ToString());
    SPLimitedWebPartManager manager = file.GetLimitedWebPartManager(PersonalizationScope.User);
    System.Web.UI.WebControls.WebParts.WebPart webPart = manager.WebParts[this.ID];
    ((UpdateMeWebPart)webPart).Message = “Test”;
    try
    web.AllowUnsafeUpdates = true;
    manager.SaveChanges(webPart);
    finally
    web.AllowUnsafeUpdates = false;
    Here is a detailed article for your reference:
    http://jeremyknight.wordpress.com/2010/11/12/programmatically-update-web-part-properties/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Is it possible to make the body tag of a template editable?

    I'm having diffuculty with making the body tag an editable region in the template.
    I need to add some onload stuff to a body tag on a page derived from a template. I am not sure if this is possible.
    And if it isn't does anyone know a workaround?
    Thanks

    Never Mind I found this.

  • Changes to BI web templates are not updated

    Hello BI Experts,
    I need to find a way to advise my portal resource on how to resolve a problem we are experiencing.
    When we make a change to a web template, the changes are not updated and it appears that the old version is cached.  The only way we can get the new template to show is to bounce EP.
    Does anyone have suggestions where we can find the appropriate global settings to set the cache so that EP will retrieve new BI content as it is modified?
    Thanks in advance for any help.
    Tom

    Hi Tom,
    If there is some incorrect setting in the portal, the WAD templates does not get saved after the first Save action.
    I am not sure of the setting which needs to be done. But I can provide you an alternate solution. If there is no other issue than the templates not getting saved, you can use this.
    You can save your changed template using 'Save As' in a different name and then you can delete the original template. Afterwards, you can save this template with the actual name.
    I hope this would solve your problem.
    Regards,
    -Neethu

  • HELLO, i wand do make an update " camera Raw" with the adobe installer - it was not possible -  this was the massage -Photoshop Camera Raw 6.7-Update Installation fehlgeschlagen Fehlercode: U44M1P7

    HELLO, i wand do make an update " camera Raw" with the adobe installer - it was not possible -  this was the massage -Photoshop Camera Raw 6.7-Update Installation fehlgeschlagen Fehlercode: U44M1P7

    You need to buy PSE13. But you can continue with PSE9 if you download and install the free DNG converter to convert your CR2 files to the Adobe universal Raw format and the DNG files will work with yoir existing software(keep your originals as backups and for use in the camera manufactures software)
    Windows download (.exe file) click here DNG Converter 8.8
    Mac download (.dmg file) click here DNG Converter 8.8
    You can convert a whole folder of raw images in one click. See this quick video tutorial:
    You Tube click here for DNG Converter tutorial

  • Block Batch updates from QM

    Hi Guru's,
    I have a question regarding batch updates through QM (inspection lots).
    Is it possible to block a batch for getting updates from QM? Meaning that we can take UD, but that the results are not copied to the batch anymore. The solution should also make sure that we still can do a few logistical movement (like transfer postings, goods issue, ...)
    Maybe anybody experience with a custom-build solution?

    Sounds like you don't get along with your QM staff?
    The whole point of inspection lots and QM status controls is to ensure quality if you want to circumvent Quality control measures you can always let them disposition the batch and move it to blocked status, then scrap the blocked stock (move into 999 storage type and clear via LI21) and then pull the inv. back out of 999 in unresricted status/clear.
    If you are not fighting with your QC staff then perhaps you should stop creating inspection lots to begin with.
    Just seems strange to want to do this.

  • Batch Updating Keywords

    Could anyone tell me if there is an easier way to batch update a group of images to add an additional keyword? I know there is a batch update where I can select group of pictures and then update all the information at once, however, it doesn't pickup existing data from any of the pictures which means that I have to keep up with what was there before, write it on a piece of paper, then go in and re-enter all the data each time. This is taking too much time to warrant trying to keep things up to date.
    Hopefully someone can tell me an easier way.
    Thanks,
    glenn

    That is quite easy.
    Simply select all the images in the browser, make sure that 'Primary Only' is off (the button next to the 'Quick Preview' buton).
    Open the Keyword HUD, then drag the keyword you want to add from the HUD onto one of the selected images, it should then be added to all of them, multiple keywords can be dragged as well, just use Command to select more. (I'd advice to first turn on the lock in the keyword hud to prevent accidental moving of keywords)
    It should be possible to do it with the 'Batch Change' option, just make sure that you select 'Append' in the 'Add Metadata' area.

  • Batch Updates with Toplink/JPA

    Hi All,
    I am new to JPA/Toplink and I wonder is there a way that we can do the batch updates/insertions using the JPA? If yes please help me how to do it?
    My requirement is this, I need to fetch the n number of records from database and compare with the records from a file and insert/update/delete as required.
    I don't wanted to do it one by one record but as a batch. Is there a way that I can do batch updates/inserts/deletes?
    Any suggestion would be appreciated.
    Thank you.

    Hello,
    I'm not sure how you are going to do the comparison as a batch and not record by record. A JPA query will give you objects back which you can use to compare and make changes to as neccessary. When you commit, the JPA provider will commit those changes to the database for you. TopLink/EclipseLink has options to efficiently comit those changes, even combining them into batches where possible. See http://wiki.eclipse.org/Optimizing_the_EclipseLink_Application_(ELUG)#How_to_Use_Batch_Writing_for_Optimization for details on using batch writing in EclipseLink.
    Best Regards,
    Chris

  • Statement caching and batch update

    Can these 2 JDBC features work together ?
    Is it possible while statement is cached to be reparsed (soft) if used in batch update ?
    I am asking this questions because i have a sitution where an insert is cached using implicit statement caching and then put in a batch to exeute batch updates !!! From statspack reports i find that 1/3 of statements are reparsed ... even soft !!!

    Statement caching and batch update work fine together. The most common cause of unexpected soft parses is changing the type of some parameters. If you first bind one type, setInt(1, ...), do addBatch, then bind another type to the same parameter, setString(1, ...), and do addBatch, you will get a soft reparse. There is nothing the JDBC driver can do about this, the RDBMS requires it.
    In general, whatever parse behavior you see with statement caching you would also see without it.
    Douglas

  • I want to download the new software on my ipod touch on a different computer to what i normally use, but it keeps telling me i will loose all my downloads. Is it possible to make this computer the main computer to sync my ipod?

    I want to download the new software on my ipod touch, on a different computer to what i usually sync my ipod to, and it keeps telling me i will lose all my downloads. i it possible to download the update on this computre, without deleting my information, and making this computer the main computer to sync my ipod to?

    A manual backup will help in your situation.
    Make sure your new computer is authorized in iTunes. Disable autosync in iTunes, connect your iPod, right click on it in the device list and choose backup.
    This will save data, pictures and settings to itunes. See what's included in this backup here: http://support.apple.com/kb/HT4946
    Transfer your purchases the same way to copy all apps and bought media from the Store to your computer.
    Set up at least one contact and event on your computer to be able the merge your calendars and contacts after your iPod got wiped during the first sync.
    The rest of the data can be restored from the backup you made.
    Restoring: http://support.apple.com/kb/HT1414
    Music is one way only, from the computer to your device, unless you bought the songs in iTunes and transferred your purchases.
    There is 3rd party software out there, but not supported by Apple, see this thread: http://discussions.apple.com/thread.jspa?threadID=2013615&tstart=0
    Apps can be downloaded again for free, in some countries music as well: Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • Best way to do batch update of an online database

    We have a periodic process which will do batch update of the online database. I would like to have some advice on what is the best way to avoid this operation affecting cache.
    We have multiple environments using shared cache, so the total cache size is pretty big. Each environment on average refresh once a day. Some are pretty big in the DB size but not necessary have high traffic, and thus doesn't have high count in the cache. I am wondering if I do a refresh (basically lots of puts) to the db, will the affect the cache? if so, is there a way to not affect the cache?
    If there is a way to disable caching of the LN at environment level, that should also work for us as we a 1st tier object cache.
    Also, I would like to cleanup the log at the end of the batch update. Will the cleanup process block the reader threads which are set at read_uncommitted?
    Thanks!
    Edited by: JoshWo on Mar 9, 2010 5:20 PM

    Josh,
    It is possible to use a base API Cursor (with the CacheMode configured) to write entities in a destination EntityStore after reading them from a source EntityStore. The idea is to read the entities using a DPL cursor from the source store, and then use the binding of the destination store to convert the entities to DatabaseEntry objects, and finally store the DatabaseEntry objects using a base API cursor from the destination store.
    import com.sleepycat.je.CacheMode;
    import com.sleepycat.je.Cursor;
    import com.sleepycat.je.DatabaseEntry;
    import com.sleepycat.je.OperationStatus;
    import com.sleepycat.persist.PrimaryIndex;
    import com.sleepycat.persist.EntityCursor;
        PrimaryIndex srcIndex = ... // index of source store
        PrimaryIndex destIndex = ... // index of destination store
        EntityCursor<MyEntity> srcCursor = srcIndex.entities();
        Cursor destCursor = destIndex.getDatabase().openCursor(null, null);
        destCursor.setCacheMode(CacheMode.UNCHANGED);
        EntityBinding<MyEntity> destBinding = destIndex.getEntityBinding();
        DatabaseEntry key = new DatabaseEntry();
        DatabaseEntry data = new DatabaseEntry();
        for (MyEntity e : srcCursor) {
            destBinding.objectToKey(e, key);
            destBinding.objectToData(e, data);
            OperationStatus status = destCursor.put(key, data);
            assert status == OperationStatus.SUCCESS;
        destCursor.close();
        srcCursor.close();Please let me know if you have questions.
    Obviously, this would be a lot easier if there were an EntityCursor.put method, so that the CacheMode could be set on the EntityCursor. I'll file an enhancement request to add such a method.
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Is it possible to make a slipstream using the recovery CD (SM30-154 WXP)?

    Is it possible to make an slipstream using the product recovery (satelite pro SM30-154 and windows XP home) and die windows XP sp 3 update?
    If so, how?
    grtz
    Bert

    Hi
    What you could do is to create a new image using a 3rd party application like Norton Ghost for example.
    You could firstly install the Windows XP using the Toshiba recovery CD.
    Then you could install the MS service pack 3 and then you could create the new image.
    Such image could be stored on the new CD or as file on the second partition.
    I did it too. Ive got two partitions on my HDD and have created a backup of C (system partition) using the Ghost. The file is stored on D (data partition) and if something will go wrong with my Windows I can restore it using this file.
    Easy ;)

  • Is it possible to make the automatic scroll go left to right instead of top to bottom?

    Hi all,
    I find it hard to follow text when adobe is scrolling from top to bottom. Is there any way to make it scroll left to right instead?

    user13392320 wrote:
    Is it possible to make ODI process a source row by row instead of as a dataset?Yes it is, the Agent acts like a SQL cursor if you use a select on the source tab (in the IKM) and an insert on the target tab (same step in the IKM) it will read it row by row. You can tweak the batch fetch array sizes in the Agent configuration.
    user13392320 wrote:
    To make changes to the target table I need to join the source table to the target table. I want to process source records in a particular order. What will be loaded from the current source record will depend on the previously loaded, related source record, during this some run of my ODI job. And ideas? Thanks!Cant see why you cant drag the target table onto the source datastores and join them - carefully choose where you want the join to take place (probably in the target). If you want to order the records there are some Knowledge Module tweaks to specify an order by clause using the UD1 -> UD5 flags on a datastore. Search the forum or google for the code.
    Hope this helps.
    Alastair

  • HELP!!! Strange Error with Batch Update

    While trying to do a batch update with the following preparedstatment:
    INSERT INTO TAB1
    (DATETIME,CALC_ID,SITE_ID,APPL_ID,VAL)
    values (
    {ts '2003-06-24 08:49:14'},
    (SELECT CALC_ID FROM TAB2 WHERE CALC_NAME=?),
    2,
    7,
    Notice the parameter in the subquery. This works fine for a single executeUpdate. But if i do two preparedstatement.addbatch calls and then executeBatch I see a unique constraint violation on (DATETIME,CALC_ID, and SITE_ID) CALC_ID is the only key that varies in my batch. It is as if the subquery is not being resolved and written literally to the field. If I try the 1st update by itself in add batch it works. If I try the second it works by itself. If I try them together in the batch it fails. The unique constraint is not violated when I execute them singly.
    Any Ideas?
    Thanks in advance.

    I've found that db2, PreparedStatements and batch updating do not work very well together. I've had to use dynmanic sql and build the update statement myself. Actually I wrote a query parser that builds the statement so I can pass it like a PreparedStatement.
    I'm not sure if your in db2 ver 7 but if so make sure your using fixpack 9. at lot of bad prepared statement behavior.

  • Is it possible to make a reflection of an image that will change with the image? [was: Reflection]

    Is it possible to make a reflection of an image that will change with the image?

    normfb wrote:
    I believe that a Smart Object will solve your problem.
    place your original image in a new file as a smart object and do the same for the reflection (made by Transforming, reducing the opacity and introducing a mild horizontal motion blur) on its own layer, then:
    by double clicking on the smart object in the layers panel and returning to the original image, any change you make in the original and save, will automatically update the upright image and its reflection.
    Nice one Norm.  Five Kudos points to you.

Maybe you are looking for