6 things why your NewsTicker does not work with a custom list

  1. Expired date is out of date
  2. Link column is not added
  3. Link column is created with a small “L”
  4. Name in the webpart properties is not set
  5. Name in the webpart properties is wrong (use the display name of the list)
  6. NewsTicker is used in a public facing website

You don’t know our NewsTicker App?

News Ticker
http://office.microsoft.com/en-us/store/news-ticker-WA104098986.aspx?queryid=c4a2822d-8cc8-41c0-b23e-242fd230df8f&css=news&CTT=1

Here are some reviews:

  • Simple, Easy and it is an excellent space saver on a page
  • Nice little app that does exactly what was promised
  • Simple, Easy, Effective

SP.UI.ModalDialog.showModalDialog() do not work under SharePoint 2013

By migration our Solutions2Share License Management Solution from SharePoint 2010 to SharePoint 2013 the SharePoint Modal Dialog didn’t opened.

SharePoint 2010 Example:

   1: function ShowServerInformation() {

   2:         var options = {

   3:             url: '/_admin/Solutions2Share/LicenseManagement/GeneralServerInformation.aspx',

   4:             tite: 'Server Information',

   5:             allowMaximize: false,

   6:             showClose: true,

   7:             width: 430,

   8:             height: 230

   9:         };

  10:

  11:         SP.UI.ModalDialog.showModalDialog(options);

  12:         return false;

  13:     }

It’s very easy to fix this problem.

  1. Remove the Java Script reference.
    <script src=”/_layouts/sp.js” type=”text/javascript”></script>
    <script src=”/_layouts/SP.UI.Dialog.js” type=”text/javascript”></script>
  2. Add to the url variable “?IsDlg=1″`
  3. Replace the command SP.UI.ModalDialog.showModalDialog() with the new command SP.SOD.execute(‘sp.ui.dialog.js’, ‘SP.UI.ModalDialog.showModalDialog’, options);

After this few changes your solution will work correctly.

SharePoint 2013 Example:

   1: function ShowServerInformation(featureId) {

   2:       var options = {

   3:           url: '/_admin/Solutions2Share/LicenseManagement/ServerInformation.aspx?featureId=' + featureId + "&IsDlg=1",

   4:           title: 'Server Information',

   5:           allowMaximize: false,

   6:           showClose: true,

   7:           width: 430,

   8:           height: 230

   9:       };

  10:

  11:       SP.SOD.execute('sp.ui.dialog.js', 'SP.UI.ModalDialog.showModalDialog', options);

  12:

  13:       return false;

  14:   }