How to replace document edit-properties buttons

We have replaced the "Edit Properties" ribbon button with the following element XML:
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Sequence="20"
Location="CommandUI.Ribbon"
RegistrationId="101"
RegistrationType="List"
Title="New EditProperties">
<CommandUIExtension>
<CommandUIDefinitions>
<CommandUIDefinition Location="Ribbon.Documents.Manage.EditProperties">
<Button Id="Ribbon.Documents.Manage.EditProperties.ReplacementButton"
Command="MyNewButtonCommand"
Image16by16="/_layouts/$Resources:core,Language;/images/formatmap16x16.png" Image16by16Top="-128" Image16by16Left="-224"
Image32by32="/_layouts/$Resources:core,Language;/images/formatmap32x32.png" Image32by32Top="-128" Image32by32Left="-96"
LabelText="$Resources:core,ButEditProperties;"
ToolTipTitle="$Resources:core,ButEditProperties;"
ToolTipDescription="$Resources:core,cui_STT_ButEditDocumentProperties;"
TemplateAlias="o1"
/>
</CommandUIDefinition>
</CommandUIDefinitions>
<CommandUIHandlers>
<CommandUIHandler Command="MyNewButtonCommand" CommandAction= "Javascript:
function demoCallback(dialogResult, returnValue)
SP.UI.Notify.addNotification('Operation Successful!');
SP.UI.ModalDialog.RefreshPage(SP.UI.DialogResult.OK);
var ctx = SP.ClientContext.get_current();
var items = SP.ListOperation.Selection.getSelectedItems(ctx);
var myItems = '';
var k;
for (k in items)
myItems += '|' + items[k].id;
var options = {
url: '/_layouts/DCMLibrarySettings/LibraryDcmSetting.aspx?List={01610989-0039-4cbe-9890-38d685af0334}',
tite: 'Set Document Properties',
allowMaximize: true,
showClose: false,
width: 800,
height: 600,
dialogReturnValueCallback: demoCallback };
SP.UI.ModalDialog.showModalDialog(options);" />
</CommandUIHandlers>
</CommandUIExtension>
</CustomAction>
</Elements>
However, we are unsure how to repeat this for the following document "Edit properties" option:
Can anyone tell us where to find the XML definition for this please?

Hi,
Here is a workaround for your reference:
We can add a new ECB Menu use the following XML definition.
<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
<CustomAction
Id="ReplaceEditProperties"
RegistrationType="List"
RegistrationId="101"
ImageUrl="/_layouts/images/edititem.gif"
Location="EditControlBlock"
Sequence="220"
Title="Replace Edit Properties" >
<UrlAction Url="javascript:alert('Test')"/>
</CustomAction>
</Elements>
Then hide the old "Edit Properties" option using CSS, add the following Style into a Content Editor Web Part.
<style>
LI[text='Edit Properties'] {
DISPLAY: none !important
</style>
More information:
http://www.thespgeek.com/2011/01/how-to-add-custom-menu-item-in.html
Best Regards,
Dennis Guo
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]

Similar Messages

  • How to replace Document Feeder Tray on ImageClass D480

    Part of my document feeder tray on my ImageClass D480 snapped off. I need to replace it. So, I ordered the part for less than 20 from Canon. However, I noticed just now there's no simple way to unattach or reattach it. I called Canon tech support and they said they "DON'T" provide any service guide or sheets to help consumers. Rep said the sales clerk should've told me that. She didn't though. Tech support said I should bring part and printer to local service place, which I won't because it won't be free and will be outrageously priced to just attach outer part. Does anyone know how I can do this myself or where I can download service manual? It's crazy! You can buy a new one for $150. They'll charge me at least $75 to look at it. I appreciate anyone's help.
    Thanks,
    Steve

    Hi Lori,
    Thanks so much for replying.  I tried to follow your advice but I might not have followed your steps exactly?  I went to Custom Scan, clicked on Options, selected Show Scanner's Native Interface, cliked OK, and then this is a screenshot of what I'm seeing (nothing that allows me to select feeder tray).  Are you sure it can be done?  Thanks!  Andy

  • KM Task Scheduler: How to create custom/editable properties?

    Dear All,
    I created a KM Scheduler Task using the NDWS Wizard.
    The application was successfully deployed and the task runs fine. However, I would like to define some custom properties that could be edited by using the portal, like the standard ones such as Priority, CM Systems, etc.
    Is that possible?
    I already tried to add it in the portalapp.xml, and also in the auto generated files that are in data and meta folders (..co.xml), but the new properties have not appeared in the screen.
    Thanks in advance,
    Marco

    Hi Romano,
    Thanks for the input.
    Do you know in which of the .co.xml files should be added? There is one in "data" and another in "meta" folders.
    The one in "data" folder (actually in one of the subfolders of "data folder") has the following content:
    <?xml version="1.0"  encoding="UTF-8" ?>
    <Configurable configclass="domain.task">
    <property name="name" value="domain.task" />
    <property name="active" value="true" />
    <property name="description" value="Task Test" />
    </Configurable>
    I added in this file a new property but no result.
    The one in meta folder (also in a subfolder of it) has the following:
    <ConfigClass name="domain.task"  extends="SchedulerTask">
    <attribute name="class" type="class" constant="domain.task"/>
    </ConfigClass>
    In this one when I tried to add a new property the task simple does not show, maybe I am not using the correct syntax.
    Do you know in which of these files I should put the custom property and using which syntax?
    Thanks in advance,
    Marco

  • How to remove or disable "View Properties, Edit Properties Manage Permissions ..." from Shared/Personal Documents in My Site?

    Hello Community
        Using Sharepoint 2010 Server and the UI I created My Site.
        In My Content there is "Shared Documents" and "Personal Documents".
        On each one if you click the carat on the right, you will see
    a group of actions you can take.
        The actions include "View Properties, Edit Properties Manage Permissions" etc.
        How can I remove or disable "Manage Permissions" as an action on "Shared
    Documents and Personal Documents" on that My Site page and for when any
    other user creates a My Site page it not be there either?
        Thank you
        Shabeaut

    It is normal for users to have full control over the content in their personal My Site (this includes the Personal and Shared Documents folders). This allows them to manage access on their own site (e.g. for Shared Documents).
    On the MySite Host, users should not have the Manage Permissions right.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • In Windows 7 document printing the "Properties" button does not open the print selection list.

    New computer OS is Windows 7. Old computer OS was Windows XP.
    HP Officejet 4500 Wireless Printer G510n-z printed documents as I chose using the Porperties button on the old system. Under the new system the Properties button does nothing and I must print using "general printing" instead of the setting I wish to use. How can it be fixed?

    When something works one day, but not the next, then something has changed. The fonts issue is an easy one, but with no new ones, then it is possible that one, or more, of the installed fonts has become corrupted.
    While fonts are not the only possibility, they ARE a common problem. Titler is very sensitive to fonts, either corrupt ones, or badly written ones, that are not exactly "corrupt."
    Good luck,
    Hunt

  • Replace document properties using powershell

    Hello ,
    I have document library. It has one column of categories. There are multiple categories tagged for many document .I want to replace some old categories with new one using powershell.
    In other words, first i need to check if that item column has that property if yes replace it with new property. 
    I dont want to change properties manually as this need checking out document. 
    Please guide. powershell script will be helpful for me.

    http://blogs.msdn.com/b/paulking/archive/2011/10/04/using-powershell-scripts-to-modify-document-properties-in-sharepoint-2010.aspx
    # Load SharePoint library
    [system.reflection.assembly]::LoadWithPartialName("Microsoft.Sharepoint")
    # Connect to the site collection http://SP2010 and store the object in the $site variable
    $site = New-Object Microsoft.SharePoint.SPSite("http://SP2010")
    # Connect to the root site in the site collection and store the object in $root
    $root = $site.rootweb
    # Store the Shared Documents document library in a variable $Docs
    $docs = $root.lists["Shared Documents"]
    # Display all the documents, their titles, names and IDs
    $docs.items | format-table -property title,name,id
    # Updates the title for each item in the list with Name
    $docs.items | ForEach { $_["Title"] = $_["Name"]; $_.Update() }
    # Display all the documents, their titles, names and IDs
    $docs.items | format-table -property title,name,idOr try http://sharepoint.stackexchange.com/questions/78084/how-to-update-document-meta-data-using-powershell$listItem = $web.GetListItem($file.ServerRelativeUrl);
    $listItem.File.Checkout();
    $listItem.Properties['My Cust Prop 1'] = 30
    $listItem.Properties['My Cust Prop 2'] = '2012-10-25T00:00:00Z'
    $listItem.Update();
    $listItem.File.Checkin('Updated')http://sharepoint.stackexchange.com/questions/61159/get-document-properties-keys-valuehttp://social.technet.microsoft.com/Forums/ro-RO/db9191e4-c1b6-4d4b-aa58-a352da1839fc/powershell-script-to-create-document-libraries-with-specific-properties?forum=sharepointadminprevious
    If this helped you resolve your issue, please mark it Answered

  • How can 2 user edit 1 word document at the same time

    hi,
    in office 2013 professional plus, can 2 user edit 1 word document at the same time?

    Hi,
    As far as I know, multiple users can not edit Word file in the same time directly. Could you give me your demand?
    Please check the two follows workarounds if they are helpful:
    http://blogs.msdn.com/b/johnmullinax/archive/2010/04/19/co-authoring-how-two-people-can-edit-one-word-2010-doc-at-the-same-time.aspx?Redirected=true
    http://www.ehow.com/how_7229904_allow-word-document-same-time.html
    Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
    Regards,
    George Zhao
    TechNet Community Support
    Hi
    thank you; its worked.
    I'm so excited about this; thank you again.

  • How do i add an email button to an editable pdf

    how do i add an email button to an editable pdf

    Hi Rocco290,
    You will need Acrobat to add an email button to that PDF. Here are instructions from the Acrobat X Help: http://help.adobe.com/en_US/acrobat/X/pro/using/WSBB6EF75F-BC3D-4094-B787-FB76DAE1EBDC.w.h tml
    If you have a different version of Acrobat, you'll find a link to both the Acrobat 9 and Acrobat XI Help in the bottom-right corner of the page I've linked you to.
    Please let us know how it goes!
    Best,
    Sara

  • How to import and make the content of the original PDF document editable and preserves the pdf appearance and retains existing fields and formatting in LiveCycle

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

    Can someone tell me how I can see my content (artwork and text) after I import  it into LiveCycle Designer ES4?  I like to import and make the content of the original PDF document editable; preserves the pdf appearance and retains existing fields and formatting, then allow me to do the modifications and save it back into the original PDF document with changes. I have tried everything but still cannot see my content(artwork and Text) of my original PDF after importing it into LiveCycle. All I see are is a blank page with the formatting and layout of where my artwork and text should be. I like to see everything if possible so after I make my change I will know how it will look when I save it back into the PDF and open it in Acrobat Reader.

  • How do I install Adobe REader? Their instructions for Firefox say to "Click on the 'Edit Options' button in the yellow bar at the top" but there is no yellow bar or 'Edit Options' button.

    How do I download Adobe Reader 9 in Firefox? Their instructions say to begin by clicking on the 'Edit Options' button on the yellow bar at the top. I have no such bar or button on my Firefox start page.
    == This happened ==
    Just once or twice
    == About 1/2 hour ago.

    The instructions on the Adobe site are outdated and do no longer apply to current Firefox versions and you can ignore those instructions and save the Adobe installer to your desktop and start the installation with a double-click on that file.
    See [[How do I edit options to add Adobe to the list of allowed sites]]

  • How to make only part of a PDF document editable?

    I'm looking to see if there is a way to make only part of a PDF document editable. My problem is, I have pieces of collateral that some of our channel partners need to be able to add their logo to and then edit the contact information on them, but we don't want them to be able to change any of the main copy on these documents. The only thing I've been able to come up with as a solution is to create outlines of the text that I don't want editable, but I need the copy to be able to be read by computer systems for disability purposes. Does anyone have any ideas on something I could do for this? Or has anyone dealt with anything like this? Any help would be greatly appreciated!

    Hi vward26,
    You can use Acrobat to make only part of a PDF document editable.
    Kindly refer this FAQ:http://tv.adobe.com/watch/acrobat-x-tips-tricks/how-to-convert-just-part-of-a-pdf-file/
    Regards,
    Florence

  • Lost "Edit Options" button used when downloading an update (ex Adobe reader) that allows you to click allow in order to receive the update. Can someone tell me how to get it back? Please?

    I t will tell you to look for a yellow bar at the top usually under the tool bar and it will ask you to "Edit Options" when you do, it will ask you if you allow the download/update or not.
    My problem is, I am not getting this yellow bar anymore that gives me the "Edit Options" button so therefore, I do not think I am getting any updates!

    You didn't lose that button. It is Adobe that is lost and haven't update their instructions for a long time :wink:
    The instructions on the Adobe site are outdated and do no longer apply to current Firefox versions and you can ignore those instructions and save the Adobe installer to your desktop and start the installation with a double-click on that file.<br />
    See [[How do I edit options to add Adobe to the list of allowed sites]]
    See also [[Adobe Reader]] and [[Opening PDF files within Firefox]]

  • Cannot edit properties after overwriting file in a document library

    I am (programmatically) overwriting a file in a document library after which none of the metadata fields can be edited either programmatically or manually:
    Edit Properties -> change something -> Save
    There is no error, just none of the metadata fields will actually update. To overwrite the file, I am using copy.asmx webservice. I get the same result when overwriting via REST, or just doing a plain http PUT. I also tried list.asmx webservice to update metadata.
    As long as I don't overwrite a file, everything works great.
    This is Sharepoint 2010. Versioning is off, checkout is not required. "Overwriting" means there is an existing file, previously uploaded manually or with copyservice and the new file has the same name.
    Has anybody seen this behavior? (or managed to get a sharepoint document library file into a similar state).
    Thanks, RL

    Hi,
    According to your post, my understanding is that after uploading file using the Copy.asmx web service, you could not edit the properties.
    I had used the following code to upload the file, after that to edit the properties, it worked without any issue.
    static void Main(string[] args)
    Copy copy = new Copy();
    copy.Credentials = new System.Net.NetworkCredential("UserName","Password","Domain");
    copy.Url = "http://sp/_vti_bin/copy.asmx";
    string filePath = @"C:\Test\Edite2.txt";
    string[] destURL = { @"http://sp/LIbA/Edite2.txt" };
    FileStream fs = new FileStream(filePath, FileMode.Open, FileAccess.Read);
    byte[] contents = new byte [fs.Length];
    fs.Read(contents,0,Convert.ToInt32(fs.Length));
    fs.Close();
    FieldInformation fileFieldInfo = new FieldInformation();
    fileFieldInfo.DisplayName = "Edite2";
    fileFieldInfo.Value = "Edite2";
    fileFieldInfo.InternalName = "Edite2";
    fileFieldInfo.Type = sp.FieldType.Text;
    FieldInformation[] fileFieldInfoArray = { fileFieldInfo };
    CopyResult copyResult1 = new CopyResult();
    CopyResult copyResult2 = new CopyResult();
    CopyResult[] copyResultArray = { copyResult1,copyResult2};
    uint resultCopy = copy.CopyIntoItems(filePath,destURL,fileFieldInfoArray,contents,out copyResultArray);
    Console.WriteLine("Upload Successful...");
    Console.ReadKey();
    You can check with the above code, then check whether it works.
    Did the issue occur in other libraries?
    You can create new library to check whether it works, maybe the library had been corrupted.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • How do I create a print button to print a specific range of the document.

    How do I create a print button to print a specific range of the document.  I've found JavaScript to print a specific page, but a range or even multiple ranges.  Form is created in Adobe 9 Pro.  Any help would be truly appreciated! 

    Sure, I'll give it a test.  Its just that I have a 128 page form that not all of it needs to be printed.
    Currently,  I have an index page where I want to set up a print button queues per form, however there are several form scattered throughout the document that make up a specific section, but it does not require printing the entire document.  Does that make sense?
    I did find this JavaScript during my reseach, but have not be able to get it to work.
    var pp = event.target.getPrintParams() ;
    pp.interactive = pp.constants.interactionLevel.full;
    pp.printRange=[[1, 1], [3, 4]];
    event.target.print(pp);

  • Somehow the back button on my Safari browser got replaced with an autofill button; how do I get the back button returned to the toolbar?

    Somehow the back/forward button on my Safari browser got replaced with an autofill button; how do I get the back button returned to the toolbar and get rid of the autofill button

    Good to hear, Tom. Did you use "Customize" from the View Menu?

Maybe you are looking for

  • Action handler for timeout session

    Hi experts,      When any web dynpro application stays inactive for a long time its session gets ended. When you want to access it you will get a error like The following error text was processed in the system ECN : User session (HTTP/SMTP/..) closed

  • Transfer data from a table to another table

    Hello I want to transfer data from a table in one server to another table in a different server, I want to do this on a nightly job, what will be the best way, please advise, thank you.

  • Slow Performance CS 55, Indesign, Acrobat

    Hello, ever since upgrading from CS 50 to CS55 the whole suite is incredibly slow, especially Acrobat and Indesign. Phonesupport is unable to figure it out and points out that increased quality in display reduces overall performance "a little". CS 5.

  • On success of form save I want to go to another for with a detail where clause

    I have the follow code snippet which is intented to go to a form on a successfull save. I query some data based on the save then build a url to navigate to a new form. I want the form to show only data that is lacking in one column not being populate

  • Function module to convert value to caps ie capital

    hi please let me knwo function module to convert small lettter to upper case lettter regards arora