Ribbon Commands wiederverwenden

Möchte man SharePoint Ribbon Commands wiederverwenden, um z.B. einen Button in einem PageLayout mit einer Funktion des Ribbons auszustatten, kann man das sehr einfach über eine Zeile Javascript-Code bereitstellen:

SP.Ribbon.PageManager.get_instance().get_commandDispatcher().executeCommand(<CommandName>, <OptionalParameters>);

 

Die Commands kann man sehr gut aus der CMDUI.XML lesen.

Hier ein Beispiel für den Ordner erstellen Dialog:

SP.Ribbon.PageManager.get_instance().get_commandDispatcher().executeCommand("NewFolder",null);

1.576 Kommentare

  1. Hi there to all, how is the whole thing, I think every one is getting more from this web site, and your views are good in support of new visitors.|

  2. What’s up it’s me, I am also visiting this website on a regular basis, this web site is truly fastidious and the viewers are really sharing pleasant thoughts.|

  3. I don’t even understand how I ended up here, but I thought this put up used to be great. I don’t know who you’re but certainly you are going to a famous blogger for those who aren’t already 😉 Cheers!

  4. Wow, fantastic blog layout! How long have you been blogging for?
    you make blogging look easy. The overall look of your
    web site is wonderful, as well as the content!

  5. Hello! Someone in my Myspace group shared this website with us so I came to take
    a look. I’m definitely loving the information. I’m book-marking and will be tweeting this to my followers!
    Superb blog and wonderful design and style.

  6. Pretty section of content. I just stumbled upon your blog and in accession capital to assert that I acquire in fact enjoyed account your blog posts. Anyway I’ll be subscribing to your augment and even I achievement you access consistently rapidly.

  7. I’m excited to discover this web site. I want to to thank you for your time just
    for this wonderful read!! I definitely liked
    every little bit of it and i also have you book marked
    to see new information on your web site.

  8. Very good blog you have here but I was curious about if you knew of any message boards that cover the same topics talked
    about in this article? I’d really love to be a part of online community where I
    can get responses from other knowledgeable individuals that share the same
    interest. If you have any suggestions, please let me know.
    Cheers!

  9. Unless… you’re just looking for the best scooter rental companies in Chiang Mai for travellers? If so, then you’re in luck! Check them out below. While a lot of the advice & tips in this guide will apply to all of Thailand, I’m focussing on Chiang Mai as this is where I’ve done the majority of my scooter riding. If you get the chance to visit Pai, I highly recommend learning the basics there. Traffic is minimal and the roads are wide making them suitable for beginners.

  10. Thank you, I have just been searching for info approximately this topic for a long time
    and yours is the best I’ve found out till now.
    But, what in regards to the bottom line? Are you positive concerning the supply?

  11. Hey there I am so glad I found your blog page, I really found you by accident, while I was searching on Askjeeve for something else, Regardless I am here now and would just like to say many thanks for a tremendous post and a all round entertaining blog (I also love the theme/design), I don’t have time to browse it all at the minute but I have book-marked it and also added your RSS feeds, so when I have time I will be back to read a lot more, Please do keep up the fantastic job.|

  12. Greetings from Colorado! I’m bored to tears at work so I decided to browse your website on my iphone during lunch break.
    I enjoy the info you present here and can’t wait to take a look when I get home.

    I’m shocked at how fast your blog loaded on my mobile
    .. I’m not even using WIFI, just 3G .. Anyhow, excellent site!

  13. Hi, this weekend is pleasant in favor of me, for the reason that this point in time i am reading this wonderful informative piece of writing here at my home.

  14. Hi, Neat post. There is an issue with your web site in internet explorer, may check this?
    IE nonetheless is the marketplace chief and a big part of people will leave out your excellent writing because of this
    problem.

  15. Hey there I am so delighted I found your webpage, I really
    found you by error, while I was searching on Yahoo for something
    else, Nonetheless I am here now and would just like to say kudos for a marvelous post and a all round exciting
    blog (I also love the theme/design), I don’t have time to look over it all at the
    moment but I have saved it and also added in your RSS feeds,
    so when I have time I will be back to read a
    great deal more, Please do keep up the fantastic job.

  16. I loved as much as you will receive carried out right here.
    The sketch is tasteful, your authored material stylish.
    nonetheless, you command get bought an nervousness over that you wish be
    delivering the following. unwell unquestionably come further formerly again as exactly the same nearly
    very often inside case you shield this hike.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht.