tag:blogger.com,1999:blog-4126985520350746834.post3487089145124205309..comments2024-03-28T07:00:21.554+00:00Comments on Chris O'Brien: Using CustomAction to modify system pagesChris O'Brienhttp://www.blogger.com/profile/10022906552670607366noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-4126985520350746834.post-74292155414656286332008-10-15T23:23:00.000+01:002008-10-15T23:23:00.000+01:00Rajni,There are a couple of elements to this:- ens...Rajni,<BR/><BR/>There are a couple of elements to this:<BR/><BR/>- ensure the web parts go in a certain group<BR/>- specify a value for the QuickAdd property on the WebPartZone in your HTML markup<BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-69896606912256376942008-10-08T10:43:00.000+01:002008-10-08T10:43:00.000+01:00Hi Chris,When stuck I look into your blog for a wa...Hi Chris,<BR/><BR/>When stuck I look into your blog for a way out.<BR/>The issue I am facing is that we need to deploy an application as solution on Sharepoint 2007 where all the webparts are deployed as a single feature.<BR/><BR/>Now I need to specify all these webparts under a new custom section group that comes when you have this window to add new webparts to your page.<BR/><BR/>I have tried to put entries in the Elements.xml, but this does not work. May be you could think of a reason....<BR/><BR/>Looking forward to a reply.<BR/><BR/>RajniAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-24487403788074897982008-06-19T08:05:00.000+01:002008-06-19T08:05:00.000+01:00Hi Claudia,Yes, making customizations like this of...Hi Claudia,<BR/><BR/>Yes, making customizations like this often requires making changes in several areas. Remember however, that modifying the original SharePoint system files is not supported by Microsoft, so where possible you should consider if there's a way to implement the change without modifying supplied files. I suggest techniques for doing this for each of the changes I think you need below:<BR/><BR/>- modify JavaScript provided by core.js for the ECB items (<I>override</I> JavaScript by specifying an override JS file)<BR/>- modify toolbar used on list (provide a <I>custom</I> list form which uses a modified version of the toolbar) - this article has some good info on actually modifying the toolbar - <A HREF="http://www.sharepointblogs.com/tanujashares/archive/2008/01/11/customize-the-oob-list-menus-in-sharepoint-2007-lists.aspx" REL="nofollow">http://www.sharepointblogs.com/tanujashares/archive/2008/01/11/customize-the-oob-list-menus-in-sharepoint-2007-lists.aspx</A><BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-81269398908147150662008-06-17T08:23:00.000+01:002008-06-17T08:23:00.000+01:00Hi Chris!I created a new listtemplate with new men...Hi Chris!<BR/>I created a new listtemplate with new menu buttons for the manager with new views for new items, display and edit items. and i created a new list and the buttons are visible only in this list. til now it was great, but now my boss want me to hide the original buttons 'new', 'edit' and 'display item' in the ECB , DisplayFormToolbar and EditFormToolbar, but only when he is the current user. My problems: 1. I can't do it with HideCustomAction, because the changes for ECB must have done in the Core.js. but how else can I do it for DisplayFormToolbar or EditFormToolbar? The changes in Core.js only affect the ECB.. 2. when I will find how it works in any time in future, what do I have to change in the code to differentiate between Manager and normal workers? does it work with 'if (HasRights())'?<BR/>Please apologize my english!<BR/>Thank You in advance!<BR/>ClaudiaAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-48017624569536883982007-11-09T18:22:00.000+00:002007-11-09T18:22:00.000+00:00Hi Carsten,The best thing I can suggest is to sear...Hi Carsten,<BR/><BR/>The best thing I can suggest is to search through the feature files which ship with SharePoint. Many of the links are added in this way, so you may find the ID of the particular link you are looking to modify.<BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-64651847773173531812007-11-09T13:44:00.000+00:002007-11-09T13:44:00.000+00:00You have a very nice translation of the SiteSettin...You have a very nice translation of the SiteSettings page but, how do I find the match for _layouts/create.aspx and eks. the Web Pages section, i want to replace Web Pages> Sites and Workspaces Action with a customAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-56802262802255885482007-11-05T14:50:00.000+00:002007-11-05T14:50:00.000+00:00Christian,I _think_ this can only be done by using...Christian,<BR/><BR/>I _think_ this can only be done by using JavaScript, since this menu is built in core.js and isn't exposed as a CustomAction location.<BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-59651080186441667802007-10-19T12:19:00.000+01:002007-10-19T12:19:00.000+01:00Hi there,does anyone have an idea how to add custo...Hi there,<BR/><BR/>does anyone have an idea how to add customactions to the "Send To" dialog?<BR/><BR/>ChristianChristianhttps://www.blogger.com/profile/18122264652133927792noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-32001692179620794202007-10-17T23:03:00.000+01:002007-10-17T23:03:00.000+01:00@Jeff,Apologies for the delay in replying, I've be...@Jeff,<BR/><BR/>Apologies for the delay in replying, I've been <A HREF="http://sharepointnutsandbolts.blogspot.com/2007/09/taking-break.html" REL="nofollow">on holiday</A>.<BR/><BR/>I don't _think_ there is a way to associate the ECB with a different column. I might be wrong though - did you find a way?<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-34619343474000368492007-09-18T05:29:00.000+01:002007-09-18T05:29:00.000+01:00Hi Chris:Thanks for your post. I need to do someth...Hi Chris:<BR/><BR/>Thanks for your post. I need to do something a little different. The ECB normally displays associated with the Title column in a list. But, I am not using the title in my view. How can I associate the ECB with another column in my views?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-27068908208608184932007-08-13T08:08:00.000+01:002007-08-13T08:08:00.000+01:00Hi Chris,well I found a groupid to add my link in ...Hi Chris,<BR/><BR/>well I found a groupid to add my link in the personal links ('Welcome User' linkssection)<BR/>Check out the solution on my blog at http://glorix.blogspot.com/2007/08/custom-action-locations-and-groupid.html<BR/><BR/>btw if you want I will delete the information which i copied from your post and make a reference to your post.Robin Meuréhttps://www.blogger.com/profile/06878262430984779866noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-17647093436310406952007-08-10T12:53:00.000+01:002007-08-10T12:53:00.000+01:00Hi Robin,In fact the links you mention aren't prov...Hi Robin,<BR/><BR/>In fact the links you mention aren't provisioned using CustomAction. These are actually Delegate Controls with the following IDs:<BR/><BR/>MySite link: GlobalSiteLink1<BR/>My links link: GlobalSiteLink2<BR/><BR/>You might find some useful information in my article on <A HREF="http://sharepointnutsandbolts.blogspot.com/2007/06/using-delegate-control.html" REL="nofollow">Using the Delegate Control</A>.<BR/><BR/>HTH,<BR/><BR/>Chris.Chris O'Brienhttps://www.blogger.com/profile/10022906552670607366noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-2195854955912059212007-08-10T12:31:00.000+01:002007-08-10T12:31:00.000+01:00N/m my last post. You defined more in total. Maybe...N/m my last post. You defined more in total. Maybe you can help me out, im searching for the location of the globallinks (mysite/mylinks)Robin Meuréhttps://www.blogger.com/profile/06878262430984779866noreply@blogger.comtag:blogger.com,1999:blog-4126985520350746834.post-25855454563662059272007-08-10T12:23:00.000+01:002007-08-10T12:23:00.000+01:00Check out the following page on MSDN to check out ...Check out the following page on MSDN to check out all the possible locations : http://msdn2.microsoft.com/en-us/library/ms473643.aspx<BR/><BR/>Found your awesome post while googling for all the possible locations :)Robin Meuréhttps://www.blogger.com/profile/06878262430984779866noreply@blogger.com