Placing 2 Web items in the same place in a Dashboard

Hi,
I am creating a dashboard with 4 charts in a single page, 2 rows with 2 charts in each row.  One requirement of mine is like, take a chart for example, when i first execute the template, it should display a Bar chart and then the same chart should change to Pie chart.  One option of doing this is by adding the charts in a dropdown but the problem is i need both the charts in the same place. I couldnt place both the web items in the same place, also i am not sure about how to make both the charts display in the same place.
If anybody have come across this, help me in this.
Regards,
Murali

Hi Pradnya,
This solution worked :-).  I do have one more problem.  I want a Text Item & a Dropdown item to be in the same row of the dashboard.  i have already created a Dashboard item placed in a container. So, i have created one more container and placed the text item in that. 
But when i go to Container Layout, in the Row selection, i couldnt see both the container and the text item in the Subordinate Web Item.  I tried deleting the container and creating a new one again but the same problem is appearing.  The newly created container is not seen in the Subordinate Web Item.
What could be the reason causing this problem?
Any help on this?
Regards,
Murali

Similar Messages

  • Need to avaid placing floats one after one on the same place

    Hi All,
    I have written a script for placing floats after the citation it works only for either the figure or table. But if both figure and table citation comes on the same place the script placing the floats one on one.
    How to control this?
    Thanks in advance,
    Learner

    Hi Vandy,
    It is a xml workflow.
    Here is the script.
    function caption(){
        this.name = "caption";
        this.xpath = "//caption";
              this.apply = function(caption,){
            with(caption){
                var mydoc = app.activeDocument;
                var pwidth = mydoc.documentPreferences.pageWidth;
                var pheight = mydoc.documentPreferences.pageHeight;
                var topmargin = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.top;    
                var bottommargin = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.bottom;
                var insidemarginfirstmaserpage = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.left;
                var outsidemarginfirstmaserpage = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.right;
                var y1 = topmargin;
                var x1 = outsidemarginfirstmaserpage;
                var y2 = pheight - bottommargin;
                var x2 = pwidth- insidemarginfirstmaserpage;           
                citpage = figCitationPage.name;
                textfm = placeIntoFrame(app.activeDocument.pages.item(citpage), [y1, x1, y2, x2]);
                textfm.fit(FitOptions.FRAME_TO_CONTENT);
                textfm.appliedObjectStyle = mydoc.objectStyles.item("oSlug");
                mydoc.xmlImportMaps.add(mydoc.xmlTags.item("caption"), mydoc.paragraphStyles.item("Slug"));
                mydoc.mapXMLTagsToStyles();
                textfm.textWrapPreferences.textWrapMode = TextWrapModes.BOUNDING_BOX_TEXT_WRAP;
                textfm.textFramePreferences.ignoreWrap = true;
                var textfmy1 = textfm.geometricBounds[0];
                var textfmx1 = textfm.geometricBounds[1];
                var textfmy2 = textfm.geometricBounds[2];
                var textfmx2 = textfm.geometricBounds[3];
                figfmy1 = figfm.geometricBounds[0];
                figfmx1 = figfm.geometricBounds[1];
                figfmy2 = figfm.geometricBounds[2];
                figfmx2 = figfm.geometricBounds[3];
                textfm.geometricBounds = [textfmy1,textfmx1,textfmy2,x2];
                textfm.move([textfmy1, figfmy2]);
                textfm.fit(FitOptions.FRAME_TO_CONTENT);
                var myPage = mydoc.pages.everyItem();
                var myArray = new Array;
                myArray.push(figfm);
                myArray.push(textfm);
                var t = (textfmy2-textfmy1)
                var groupitem = figCitationPage.groups.add(myArray);
                var citbaseline = exbm - citpos;
                var test = parseInt(citpage)
                var citbaseline = exbm - citpos;
                var test = parseInt(citpage)
                if (citbaseline<groupitem.geometricBounds[2]){
                        groupitem.move(app.activeDocument.pages[test]);
                        groupitem.move([x1,y1])
                else {
                        var by1 = groupitem.geometricBounds[0];
                        var by2 = groupitem.geometricBounds[2];
                        var t = (by2-by1)
                        groupitem.move([x1, (y2-t)])
            return true;
    function figure(){
        this.name = "figure";
        this.xpath = "//figure";
              this.apply = function(figure,){
            with(figure){
                var mydoc = app.activeDocument;
                var pwidth = mydoc.documentPreferences.pageWidth;
                var pheight = mydoc.documentPreferences.pageHeight;
                var topmargin = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.top;    
                var bottommargin = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.bottom;
                var insidemarginfirstmaserpage = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.left;
                var outsidemarginfirstmaserpage = app.activeDocument.masterSpreads.item(0).pages.item(0).marginPreferences.right;
                //var insidemarginsecondmaserpage = app.activeDocument.masterSpreads.item(0).pages.item(1).marginPreferences.left;
                //var outsidemarginsecondmaserpage = app.activeDocument.masterSpreads.item(0).pages.item(1).marginPreferences.right;
                var y1 = topmargin;
                var x1 = outsidemarginfirstmaserpage;
                //var x1recto = AMinsidemargin
                var y2 = pheight - bottommargin;
                var x2 = pwidth- insidemarginfirstmaserpage;           
                //var x2recto = pwidth- AMoutsidemargin;
                citpage = figCitationPage.name;
                figfm = placeIntoFrame(app.activeDocument.pages.item(citpage), [y1, x1, y2, x2]);
                figfm.fit(FitOptions.FRAME_TO_CONTENT);
                figfm.textWrapPreferences.textWrapMode = TextWrapModes.BOUNDING_BOX_TEXT_WRAP;
                figfm.textFramePreferences.ignoreWrap = true;
                figfm.appliedObjectStyle = mydoc.objectStyles.item("ofigure");
                fy1 = figfm.geometricBounds[0];
                fx1 = figfm.geometricBounds[1];
                fy2 = figfm.geometricBounds[2];
                fx2 = figfm.geometricBounds[3];
            return true;

  • Need to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.

    Hi All
    I have one sharepoint list with huge data i.e with 20columns and more than 200 records with the fields .
    Suppose lets consider there are A,B,C,D,E,F,G,H columns.
    Now i want to create one form with the fields A,C,E.
    When the user enter the existing data of list for columns A,C..based on C value the E column value should change and update that particular item in the list.
    Please guide me without visual web part can we acheive this by Sharepoint designer 2013 or what would be the preferable solution.
    Please help me on this as it is very urgent from me..
    Thanks in Advance
    Sowjanya G

    Hi,
    According to your post, my understanding is that you wanted to update the list item in the same sharepoint list with particular condition with Sharepoint Designer 2013.
    I recommend to create workflow associated to the list and then start the workflow automatically when an item is changed.
    In the workflow, you can add condition and actions as below:
    If current item: C equal to Test1
         Set E to Test2
    Then the value of the filed E will be changed based on the value of the filed C.
    In addition, if you create the form using InfoPath, you can add rule to the filed C as below:
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Crawl Error GetVirtualServerPolicyInternal - An item with the same key has already been added

    Hi,
    I did an index reset and now I can't start any crawl. It's complaining "An item with the same key has already been added".  Exception seems to from Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006.CSTS3Helper.GetVirtualServerPolicyInternal. 
    What should I check? Thanks.
    The SharePoint item being crawled returned an error when requesting data from the web service. ( Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: 9e69ff9c-f925-50bf-5110-d1b0e74c77bc; SearchID = 522CB441-0028-4E7D-BED4-4230D7ADD14B
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dm1k Medium   Exception Type: System.ArgumentException *** Message : An item with the same key has already been added. *** StackTrace:    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean
    add)     at Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006.CSTS3Helper.GetVirtualServerPolicyInternal(String strStsUrl, WssVersions serverVersion, sPolicyUser[]& vUsers, sPolicyUser& anonymousUser, String&
    strVersion, String[]& vServerWFEs, Boolean& fIsHostHeader, Boolean& fIsAllUsersNT, Boolean& fIncludeSiteIdInCompactURL)     at Microsoft.Office.Server.Search.Internal.Protocols.SharePoint2006.CSTS3Helper.GetVirtualServerPolicy(String
    strStsUrl, sPolicyUser[]& vUsers, sPolicyUser& anonymousUser, String& strVersion, String[]& vServerWFEs, Boolean& fIsHostHeader, Boolean... 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93* mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dm1k Medium   ...& fIsAllUsersNT, Boolean& fIncludeSiteIdInCompactURL) 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     fsa0 Monitorable GetVirtualServerPolicy fail. error 2147755542, strStsUrl
    http://serverurl 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvt6 High     SetSTSErrorInfo ErrorMessage = Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7 hr = 80042616  [sts3util.cxx:6988] 
    search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvi3 High     Couldn't retrieve server
    http://serverurl policy, hr = 80042616  [sts3util.cxx:1865]  search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvu0 High     STS3::StoreCachedError: Object initialization failed.  Message:  "Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7"
    HR: 80042616  [sts3util.cxx:7083]  search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvg4 High     Server serverurl security initialization failed, hr = 80042616 error Message Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7 
    [sts3util.cxx:1591]  search\native\gather\protocols\sts3\sts3util.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dv5x High     CSTS3Accessor::InitServer: Initialize STS Helper failed. Return error to caller, hr=80042616  [sts3acc.cxx:1932]  search\native\gather\protocols\sts3\sts3acc.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dv3t High     CSTS3Accessor::InitURLType fails, Url
    http://serverurl, hr=80042616  [sts3acc.cxx:288]  search\native\gather\protocols\sts3\sts3acc.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvb1 Medium   CSTS3Accessor::Init fails, Url
    http://serverurl, hr=80042616  [sts3handler.cxx:337]  search\native\gather\protocols\sts3\sts3handler.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Connectors:SharePoint        
     dvb2 Medium   CSTS3Handler::CreateAccessorExD: Return error to caller, hr=80042616            [sts3handler.cxx:355]  search\native\gather\protocols\sts3\sts3handler.cxx 7a91de3b-a271-43c3-9f1a-935558902623
    04/22/2015 19:37:10.93  mssdmn.exe (0x1A34)                      0x225C SharePoint Server Search       Crawler:FilterDaemon         
     e4ye High     FLTRDMN: URL
    http://serverurl Errorinfo is "Error from SharePoint site: *** An item with the same key has already been added., CorrelationID: ae5aff9c-2940-50bf-5110-da6764f258d7"  [fltrsink.cxx:566]  search\native\mssdmn\fltrsink.cxx 
    04/22/2015 19:37:10.93  mssearch.exe (0x1118)                    0x0628 SharePoint Server Search       Crawler:Gatherer Plugin      
     cd11 Warning  The start address http://serverurl cannot be crawled.  Context: Application 'Enterprise_Search_Service_Application', Catalog 'Portal_Content'  Details:  The SharePoint item being
    crawled returned an error when requesting data from the web service.   (0x80042616) 
    04/22/2015 19:37:10.99  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x06B4 Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. ab403221-f69c-43ef-a8cc-7df384f6a4b3
    04/22/2015 19:37:10.99  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x06B4 Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. ab403221-f69c-43ef-a8cc-7df384f6a4b3
    04/22/2015 19:37:10.99  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x06B4 Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. ab403221-f69c-43ef-a8cc-7df384f6a4b3
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. 2bbbeea9-aeb8-4497-a774-2927bd21ba98
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. 2bbbeea9-aeb8-4497-a774-2927bd21ba98
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. 2bbbeea9-aeb8-4497-a774-2927bd21ba98
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x10E4 Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. e15da110-f86d-4e3d-8d73-a67dccaa82cd
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x10E4 Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. e15da110-f86d-4e3d-8d73-a67dccaa82cd
    04/22/2015 19:37:11.00  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x10E4 Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. e15da110-f86d-4e3d-8d73-a67dccaa82cd
    04/22/2015 19:37:11.03  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyfa Unexpected CCANameProjector : Exception:Exception : Access to the path 'C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl' is denied. encountered while attempting to 
    load the Projection Model Catalog C:\Program Files\Microsoft Office Servers\15.0\Data\Office Server\CanonicalResources\ProjectionModels\EN_EN.mdl for Language : en encountered while attempting to load the projection model. 58d54385-497b-466d-9f02-aeba664bc1b6
    04/22/2015 19:37:11.03  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyd9 Unexpected CCAMetadataProducer : Fuzzy metadata generation failed to load resource for language: en. 58d54385-497b-466d-9f02-aeba664bc1b6
    04/22/2015 19:37:11.03  NodeRunnerContent1-84b5adb7-0d6 (0x2090) 0x240C Search                         Fuzzy Name Search            
     ajyed Monitorable CCAMetadataProducer : Fuzzy metadata generation failed for the current record. Check logs for more details. 58d54385-497b-466d-9f02-aeba664bc1b6

    Hi,
    For troubleshooting your issue, please take steps as below:
    1. Try to crawl your content source using farm admin account.
    2.
    Disable loopback check .
    3.Add reference  SPS3s://WEB into your content source start addresses.
    For more information, please refer to these blogs:
    http://sharepoint.stackexchange.com/questions/5215/crawling-fails-with-404-error-message-but-the-iis-log-tell-a-different-story
    http://www.cleverworkarounds.com/2011/07/22/troubleshooting-sharepoint-people-search-101/
    http://blogs.msdn.com/b/biyengar/archive/2009/10/27/psconfig-failure-with-error-an-item-with-the-same-key-has-already-been-added.aspx
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Add Multiple Detail Items Using the Same Query String Parameter

    I am using InfoPath 2010 and SharePoint 2010. 
    I have 2 forms libraries - Expense and Expense Details. 
    The 2 libraries are linked via a custom site column Expense ID. 
    The Expense form contains the main header type info you would typically find on an expense report; e.g., name, purpose, department, etc. 
    The Expense Details form contains multiple detail expenses related to the main expense report such as airfare, rental car, etc. 
    I have created a page that displays an expense report with all of the related expense detail items. 
    The page contains a link to add a new expense detail and passes the Expense ID of the Expense form to the Expense Detail form. 
    This all works fine.  The problem comes in after the first expense detail form is submitted. 
    I can successfully submit the first detail item.  However, the expense detail form loses the Expense ID that was passed to it after the first expense detail form has been submitted. 
    The parameter still shows in the URL but the detail form no longer shows the value of the parameter. 
    What do I need to do in order to be able to add multiple expense detail items using the same Expense ID that was passed to the form? 
    I have tried using a Submit Behavior of Open a new form, Close the form, and Leave the form open. 
    None of these options give me what I need.  Thanks for your help.
    pam

    Laura Rogers Blog
    In case anyone stumbles upon this looking for an answer. Laura Rogers has the answer found in the comments section of her blog above.  It’s not the best but it
    does work. You have to add an extra Info Path Web Form for it to work. I know, you can roll your eyes.<o:p></o:p>
    Steps.<o:p></o:p>
    1. Add Query String<o:p></o:p>
    2. Add the extra Info Path form to the page. This form will be a hidden on the page and will receive the value from the query string.<o:p></o:p>
    3. Add your original Info Path form and have it receive a parameter from the hidden Info Path form.<o:p></o:p>
    Now, when you hit save and it opens a new form the 3 Info Path form will function properly. <o:p></o:p>

  • Same material can exist on multiple line items for the same order.

    Hi
    Is there any specific customising setting or web shop setting through which we can restrict user to add same material on multiple line items for the same order ?
    Regards

    No.
    But if this is a must requirement, you can do an elaborate check during order save in ORDER_SAVE BAdI and return error. So, it will be only during order save.
    Eawar Ram
    http://www.parxlns.com

  • My Itunes library is skipping some songs which is also affecting my ipod, it is always the same songs that skip at the same place, it is not all songs.

    Since moving my Itunes to a Vista, it found songs that I downloaded a long time ago and added them to my library but now some songs (not just the ones that were lost in apple land) are skipping after playing a few seconds then it moves onto another song.  The same songs are skipping at the same place when played on a computer and also my ipod.

    i noticed this as a bug in iTunes. make sure the correct file is selected in the preferences menus. It does not have to be the default location directiory as Vazandrew stated. your iTunes music library can be anywhere you want it. i have mine on an external cuz i'm a dj and have over 80,000 songs.
    once you select/verify the location of your music library, simply drag the folder into the left panel in iTunes from a finder window. iTunes does not automatically add the items like it use to for some reason.

  • Paste in the same place

    I think I've seen this before  in these pages, but I can't find it now I really need it.
    Using CS3 on a Mac 10.4.11
    I have two Photoshop documents of same size and resolution. I want to copy an item from one document into the same place in the other document.  In Illustrator it would be "Paste in front/behind", in Quark or InDesign it would be "Paste in place"
    What's the equivalent in Photoshop? (apart from setting up guides and snapping to them)

    YOU can also select the layer/layers or group/groups in the layers panel.
    in the flyout select duplicate layer/layers or group/groups and you get a popup dialog.
    now you can rename and or target the dupes to any file you have open or to a new file.
    layers will be in the same position as long as the file is the same size.

  • How to keep desktop folders in the same place?

    I use an iMac (with Mac OS X V.10.6.6) and I have some folders and files on my desktop. However, lately after I shutdown my iMac and start it again, all the folders and files on my desktop move and scatter. I want to keep them in the same order that I originally arranged. How do I keep them in the same place? Is it normal for them to move around after shutdown?
    It´s a new iMac (with about 6 monts old) and it only appens sometimes...
    PS. I don't want to sort them out by name or date modified or anything like that. I just want to keep them in the same order that I put them.

    As this oddity strikes also on my machine, I wrote this script.
    --[SCRIPT récupérerrestaurer_positionicônes]
    Enregistrer le script en tant que Progiciel (Application sous 10.6.x) : récupérerrestaurer_positionicônes.app
    Installer dans le Dock.
    Sélectionner les icônes du bureau dont la position doit pouvoir être rétablie.
    Lancer le script
    Cliquer le bouton "Enregistrer leur position"
    Un fichier texte contenant les informations relatives à ces icônes sera créé dans le dossier défini à partir de la property 'dest'
    Par défaut c'est dans "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Pour remettre les icônes en place, lancer l'application et cliquer le bouton "Rétablir leur position"
    --=====
    Save the script as an Application Bundle (Application under 10.6.x) : récupérerrestaurer_positionicônes.app
    Install it in the Dock for easy access.
    Select Desktop's icons whose location must be reset when needed.
    Run the script.
    Click the button "Get there position".
    A text file containing the datas linked to these icons will be created in the folder defined according to the property 'dest'.
    Default location is : "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Run the script and click the button "Reset there position" to move the icons back to their original location.
    --=====
    KOENIG (VALLAURIS, France)
    2010/03/16
    --=====--=====
    property toutlebureau : true
    property dest : 3
    1 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Preferences:"
    2 = liste dans : "<startupVolume>:Users:<userAccount>:Applications:Utilities:"
    3 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Application Support:"
    property nomDuRapport : "position des icones.txt"
    property rapport : {}
    --=====
    on run
    run script mon_script
    end run
    script mon_script
    my nettoie()
    if dest = 1 then
    set p2d to path to preferences as text (*
    "<startupVolume>:Users:<userAccount>:Library:Preferences:" *)
    else if dest = 2 then
    set p2d to path to utilities folder from user domain as text (*
    "<startupVolume>:Users:<userAccount>:Applications:Utilities:" *)
    else
    set p2d to (path to library folder from user domain as text) & "Application Support:" (*
    "<startupVolume>:Users:<userAccount>:Library:Application Support:" *)
    end if
    set p2r to p2d & nomDuRapport
    if my parleAnglais() then
    set prompt to "What to do with icons ?"
    set {btn1, btn2, btn3} to {"Cancel", "Get their position", "Reset their position"}
    else
    set prompt to "Que faire avec les icônes ?"
    set {btn1, btn2, btn3} to {"Abandonner", "Enregistrer leur position", "Rétablir leur position"}
    end if
    set maybe to button returned of (display dialog prompt buttons {btn1, btn2, btn3} default button 3)
    if maybe is btn1 then (*
    Cancel / Annuler *)
    error number -128
    else if maybe is btn2 then (*
    Get their position / Enregistrer leur position *)
    tell application "Finder"
    set itms to name of every item of the desktop
    repeat with itm in itms
    try
    set {x, y} to get desktop position of item itm
    copy "" & itm & return & x & ", " & y to end of my rapport
    end try
    end repeat
    end tell -- Finder
    set rapport to my recolle(my rapport, return)
    crée un fichier texte dans le dossier "Bibliothèque:Application Support" du compte utilisateur *)
    tell application "System Events"
    if exists file p2r then delete file p2r
    make new file at end of folder p2d with properties {name:nomDuRapport}
    end tell -- System Events
    write rapport to (p2r as alias)
    else (*
    Reset there position / Rétablir leur position *)
    set my rapport to paragraphs of (read file p2r)
    repeat with i from 1 to ((count of rapport) - 1) by 2
    try
    set itm to item i of rapport
    tell application "Finder" to set desktop position of item itm to my decoupe(item (i + 1) of rapport, ", ")
    end try
    end repeat
    tell application "Finder" to update folder p2d
    end if
    my nettoie()
    end script
    --=====
    on nettoie()
    set my rapport to {}
    end nettoie
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local t
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end recolle
    --=====
    on parleAnglais()
    local z
    try
    tell application "Finder" to set z to localized string "AL1"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    I run it by hand to get the icons positions.
    I may also run it to restore these positions but in real life, I use a subset of the same script which is automatically ran when I boot the machine.
    This subset retain only the code restoring the icons positions.
    --[SCRIPT récupérerrestaurer_positionicônes]
    Enregistrer le script en tant que Progiciel (Application sous 10.6.x) : récupérerrestaurer_positionicônes.app
    Installer dans le Dock.
    Sélectionner les icônes du bureau dont la position doit pouvoir être rétablie.
    Lancer le script
    Cliquer le bouton "Enregistrer leur position"
    Un fichier texte contenant les informations relatives à ces icônes sera créé dans le dossier défini à partir de la property 'dest'
    Par défaut c'est dans "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Pour remettre les icônes en place, lancer l'application et cliquer le bouton "Rétablir leur position"
    --=====
    Save the script as an Application Bundle (Application under 10.6.x) : récupérerrestaurer_positionicônes.app
    Install it in the Dock for easy access.
    Select Desktop's icons whose location must be reset when needed.
    Run the script.
    Click the button "Get there position".
    A text file containing the datas linked to these icons will be created in the folder defined according to the property 'dest'.
    Default location is : "<startupVolume>:Users:<userAccount>:Library:Application Support:".
    Run the script and click the button "Reset there position" to move the icons back to their original location.
    --=====
    KOENIG (VALLAURIS, France)
    2010/03/16
    --=====--=====
    property toutlebureau : true
    property dest : 3
    1 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Preferences:"
    2 = liste dans : "<startupVolume>:Users:<userAccount>:Applications:Utilities:"
    3 = liste dans : "<startupVolume>:Users:<userAccount>:Library:Application Support:"
    property nomDuRapport : "position des icones.txt"
    property rapport : {}
    --=====
    on run
    run script mon_script
    end run
    script mon_script
    my nettoie()
    if dest = 1 then
    set p2d to path to preferences as text (*
    "<startupVolume>:Users:<userAccount>:Library:Preferences:" *)
    else if dest = 2 then
    set p2d to path to utilities folder from user domain as text (*
    "<startupVolume>:Users:<userAccount>:Applications:Utilities:" *)
    else
    set p2d to (path to library folder from user domain as text) & "Application Support:" (*
    "<startupVolume>:Users:<userAccount>:Library:Application Support:" *)
    end if
    set p2r to p2d & nomDuRapport
    if my parleAnglais() then
    set prompt to "What to do with icons ?"
    set {btn1, btn2, btn3} to {"Cancel", "Get their position", "Reset their position"}
    else
    set prompt to "Que faire avec les icônes ?"
    set {btn1, btn2, btn3} to {"Abandonner", "Enregistrer leur position", "Rétablir leur position"}
    end if
    set maybe to button returned of (display dialog prompt buttons {btn1, btn2, btn3} default button 3)
    if maybe is btn1 then (*
    Cancel / Annuler *)
    error number -128
    else if maybe is btn2 then (*
    Get their position / Enregistrer leur position *)
    tell application "Finder"
    set itms to name of every item of the desktop
    repeat with itm in itms
    try
    set {x, y} to get desktop position of item itm
    copy "" & itm & return & x & ", " & y to end of my rapport
    end try
    end repeat
    end tell -- Finder
    set rapport to my recolle(my rapport, return)
    crée un fichier texte dans le dossier "Bibliothèque:Application Support" du compte utilisateur *)
    tell application "System Events"
    if exists file p2r then delete file p2r
    make new file at end of folder p2d with properties {name:nomDuRapport}
    end tell -- System Events
    write rapport to (p2r as alias)
    else (*
    Reset there position / Rétablir leur position *)
    set my rapport to paragraphs of (read file p2r)
    repeat with i from 1 to ((count of rapport) - 1) by 2
    try
    set itm to item i of rapport
    tell application "Finder" to set desktop position of item itm to my decoupe(item (i + 1) of rapport, ", ")
    end try
    end repeat
    tell application "Finder" to update folder p2d
    end if
    my nettoie()
    end script
    --=====
    on nettoie()
    set my rapport to {}
    end nettoie
    --=====
    on decoupe(t, d)
    local l
    set AppleScript's text item delimiters to d
    set l to text items of t
    set AppleScript's text item delimiters to ""
    return l
    end decoupe
    --=====
    on recolle(l, d)
    local t
    set AppleScript's text item delimiters to d
    set t to l as text
    set AppleScript's text item delimiters to ""
    return t
    end recolle
    --=====
    on parleAnglais()
    local z
    try
    tell application "Finder" to set z to localized string "AL1"
    on error
    set z to "Cancel"
    end try
    return (z is not "Annuler")
    end parleAnglais
    --=====
    --[/SCRIPT]
    As it was for my own use, I didn't change the explanations at the beginning.
    Yvan KOENIG (VALLAURIS, France) jeudi 3 février 2011 12:37:56

  • How do I place a still graphic in the same place as a flaash animation for devices that do not suppo

    How do I place a graphic in the same place on the site that features a Flash animation for devices that do not support as in IPad?

    Why not replace your Flash animation with a web friendly jQuery slideshow or rotating banner?
    http://jquery.malsup.com/cycle/
    http://wowslider.com/
    http://nivo.dev7studios.com/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • HT201335 I started playing games on my iPhone 5 and bought the iPad air wand to link phone with iPad so all the information from the game is on my iPad so I don't have to start the game over  I should be able to start from the same place in the game on ei

    I need to link all of my games on my iPhone 5 to my iPad air so I don't have to start all my games over. In the Game Center all the information from my games are there but it's like I have to start the game over on my iPad. I should be able to resume the game from the same place on either device with the same trophies $ coins help help help PLEASE I have a lot of money invested in one game and don't want to start completely over

    Transferring from old to new
    http://support.apple.com/kb/HT2109

  • String objects with the same string pointing to the same place but?

    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????
    Thanks!

    Maria1990 wrote:
    Hi,
    Here is a simple sample
    String str1 = "a";
    String str2 = "a";I understand that in Java str1 and str2 pointing to the same place in memory and Java compiler wouldn't save the string "a" in two different places in memory. Am I right?Correct.
    Maria1990 wrote:
    If so, if the value of str1 changes to something else as following:
    String str1 = "a";
    String str2 = "a";
    str1 = "b";why str2 which has been pointing to the same place as str1 before is still containing ?a? and not ?b????Because str2 is pointing to the same "a", but it is not pointing to str1.
    This is what happens:
    String str1 = "a";
    /*                 +---+
             str1 ---->| a |
                       +---+
    String str2 = "a";
    /*                 +---+
             str1 --+->| a |
                    |  +---+
                    |
             str2 --+
    NOT:
                       +---+
         +-> str1 ---->| a |
         |             +---+
         |
         +- str2
    str1 = "b";
                       +---+
                 +---->| b |
                 |     +---+
                 |
                 |     +---+
            str1-+  +->| a |
                    |  +---+
                    |
             str2 --+
    */

  • SharePoint Search Service upgrade to 2013 fails: "Inner Exception: An item with the same key has already been added."

    Here's the situation:
    Upgrading a SharePoint Server 2010 Search Service Application dB to our SharePoint 2013 SP 1 development environment, using the Management Shell
    Running the following commands: 
    $applicationPool= Get-SPServiceApplicationPool -Identity 'SearchService_AppPool'
    $searchInst = Get-SPEnterpriseSearchServiceInstance -local
    Restore-SPEnterpriseSearchServiceApplication -Name 'SearchServiceApplication' -applicationpool $applicationPool -databasename 'SearchServiceApplicationDB' -databaseserver SERVERNAME -AdminSearchServiceInstance $searchInst
    Creates the search dBs (crawl, links, analytics) successfully; however, in the end, I get....
    "Exception: Action 15.0.107.0 of Microsoft.Office.Server.Search.Upgrade.SearchAdminDatabaseSequence failed."
    Looking at the ULS logs, I find the following:
    Inner Exception: An item with the same key has already been added.
    at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)     at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.FindAndFixExistingManagedProperties()     at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.InstallManagedProperties(Boolean
    upgrade)     at Microsoft.Office.Server.Search.Administration.OOTBSchemaDefinition.Upgrade()     at Microsoft.Office.Server.Search.Upgrade.UpdateAllOOTBProperties.Upgrade()     at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()
    Exception: Action 15.0.107.0 of Microsoft.Office.Server.Search.Upgrade.SearchAdminDatabaseSequence failed.
    at Microsoft.SharePoint.Upgrade.SPActionSequence.Upgrade()     at Microsoft.SharePoint.Upgrade.SPDatabaseSequence.Upgrade()     at Microsoft.Office.Server.Search.Upgrade.SearchDatabaseSequence.Upgrade()     at Microsoft.SharePoint.Upgrade.SPUpgradeSession.Upgrade(Object
    o, Boolean bRecurse)
    Anyone encounter anything like this during their search upgrade process? I'm not honestly even sure what duplicate value to look for at this point, if I were to run a SELECT Id, ClassId, ParentId, Name, Status, Version, Properties FROM Objects on
    "SharePoint_Config" in SSMS. Any insight or opinions on the matter are welcome; and thanks to those who choose to reply to this, in advance.

    Hi ,
    You can enable the ULS log on verbose level (note, remember to reset to default level after finished troubleshooting) for more information per the following article, then check there should be more useful message for helping solve the issue.
    http://www.brightworksupport.com/enabling-verbose-logging-to-compare-against-c/
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/12c99279-d3aa-46de-bc57-d5d250692ff0/upgrade-of-search-service-application-from-2010-to-2013-failure?forum=sharepointadmin
    https://www.simple-talk.com/blogs/2014/04/22/sharepoint-2010-to-2013-search-service-application-upgrade-issueaction-15-0-80-0-fails/http://blogs.msdn.com/b/biyengar/archive/2009/10/27/psconfig-failure-with-error-an-item-with-the-same-key-has-already-been-added.aspx
    Thanks,
    Daniel Yang
    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] 
    Daniel Yang
    TechNet Community Support

  • Before the recent updates to Firefox, clicking on the back button always brought me back to the same place on the page where I had been, but now it brings me to the top of the page. How do I restore the previous feature?

    Before the recent updates to Firefox, when I would go to another page in the same window and then clickon the back button, Firefox used to bring me back to the same place on the page where I had been, but now it brings me to the top of the page, meaning that I have to laboriously scroll down to the old place. How do I restore the previous feature?

    That change was made in Firefox 4, 6 months ago.
    Click-hold the unified Back / Forward button <br />
    or <br />
    right-click it to get the Back / Forward history for that tab.
    Or install this extension to get the old "drop-marker" button restored. <br />
    https://addons.mozilla.org/en-US/firefox/addon/backforedrop/

  • When I try to restore my iPod, it stops restoring at the same place and doesn't work. How do I fix this and make it completely restore itself?

    When I try to restore my iPod, it stops restoring at the same place and doesn't work. How do I fix this and make it completely restore itself?

    Did you make sure that your security software allows iTunes to contact Apple during the restore process? http://support.apple.com/kb/TS3125

Maybe you are looking for