Color coding Alerts

I am having some issues with a project alert colors.

I am having two cases that starts an alert.

One is if the value is over 40 and one is over 45.

Reaching the 40 value is a really bad thing and reaching 45 is even worse.

The problem is that I cannot use orange for over 40 as it is really important and needs action to be taken immediately.

Currently I use light red and hard red but I am afraid that they do not differentiate well enough.

Any suggestions please ?

enter image description here

SharePoint 2010 Alert Me Not Sending Alerts when Item Deleted

I have an alert setup on a list:

  1. Send e-mail
  2. Only send me alerts when: All changes
  3. Send me an alert when: Anything changes
  4. Send notification immediately

I received an alert when the item was added but not when the user deleted it.

Does this have to do with the user who deleted the item (which was the user who created the item)?

Why would I not receive notification that the item was deleted?

Modifying SharePoint alerts to reduce the details in the email

I’m finally getting my organization to use Alerts. Which is great. We are using SharePoint online. I send each team member a daily summary at 7:00 am.
The following are the settings: Change type: All Changes Send Alerts for These Changes: Anything Changes When to Send Alerts: Daily Summary 7:00 am

From the screen shot below, you can see one team member has been working on a file, and every time the file saves, the alert records it, and if they’ve been working on the file all day, there are several lines for each file. The team members have to scroll a long way down in the email to see all the files that have been modified.

Is there a way for information to be displaying with less information so that you don’t have to scroll down in your email so much? enter image description here

Finding the list of Email-Addresses who have subscribed alerts on sharepoint 2010

I have a list of email-addresses in a sharepoint list that send out alerts for the list whenever there is a change.

Now I face a problem to see who is on the list as I have to take away some addresses from it.

The address are from outside our domain so they are not listed in the System Administration/ User alerts.

How can I see the list or edit the list of email addresses.?

Search alerts in 2013 don’t work – no relevant results found, no emails

I have a problem with a new Enterprise Search application: it does not send out emails with new results matching the term, and I have no idea why.

Say,

  1. I have an alert on a site to “immediately” alert me with changes to a library.

  2. In my enterprise search I then search for something that does not exist, i.e. some random collection of letters (“Nothing here matches your search”).

  3. I then set up an alert in my search to send out alerts for “New items in search result”.

  4. I then get an email saying the alert has been successfully created.

  5. I then create a word-document matching the criteria that did not return any results before (both in the content and title of the document) and upload that document to my library.

  6. Within a few minutes I then get an alert from the library that a new document has been added.

  7. The library is set up with a continuous crawl in the enterprise search, so within about 15 minutes that one result appears in the search results when I hit F5 in the search. But the second alert I would have expected – the one from the enterprise search – never comes.

But why?

From what I said above I assume that

  • SMTP broadly works,
  • the “immediate” timer job every 5 minutes broadly works, and
  • I’ve got the appropriate and required permissions.

This is what people typically suggest to check first.

What next?

The SchedSubscriptions table in my content db has an entry for my enterprise search alert. And I can see the timestamp in the NotifyTime(UTC) column moving every 24hrs – it just does not seem to send anything out.

In the timerlock table I can see my app server acquiring a lock every 5 minutes. And in the ULS logs of that server I can see a line saying “[…] Entering monitored scope (Timer Job job-immediate-alerts) […]” every 5 minutes. But no obvious errors.

I can also see it invoking the search on the web front end within the 2 seconds between entering and leaving the monitored scope. And in the ULS logs on that web front end in the same timespan I see a lot of query processing using my unique keyword – so far so expected.

But then on the web front end I get a message saying “Relevant Results: 0, Refinement Results: 0”, and on the app server “Search alert: '0' results”.

I don’t know where to go next. Why would the exact word I am looking for appearing in the title and content of a document not be deemed relevant when sending out an alert, but the same will appear on the result page when I manually search for it?

Update (2017-09-14)

I added another document that matches my criteria and again got the notification that something in the library has changed, but nothing from the search results.

On the WFE I get a line saying

Microsoft.Office.Server.Search.Query.Ims.ImsQueryInternal : New request: Query text ‘”xxxxxx-xxxxx”‘, Query template ‘{searchboxquery} […] QueryTemplateHelper: Query template ‘{searchboxquery}’ transformed to query text ‘”xxxxxx-xxxxx”‘ […]

and an additional search a few lines down

QueryTemplateHelper: Query template ‘{?{searchTerms} -ContentClass=urn:content-class:SPSPeople}’ transformed to query text ‘”xxxxxx-xxxxx” -ContentClass=urn:content-class:SPSPeople’. […]

followed by

Microsoft.Office.Server.Search.Query.Pipeline.Processing.SummarizerEvaluator : Unable to generate summaries and/or highlight properties since no results were found for ‘RelevantResults’ table.

and much further down

Timed out while executing QueryId PersonalFavorite Query SourceId cd0b4ea8-749c-4bcb-9c27-3cd8355bb774 ProviderId 8e35d350-e91e-4a6f-be79-5009e5ed2a84 CorrelationId 883e3371-3fa3-41ec-8f51-ace9a8839c54 ParentCorrelationId 883e3371-3fa3-41ec-8f51-ace9a8839c54 5bfabff0-2f50-47eb-b7c5-0a47276bdd4b

and

Microsoft.Office.Server.Search.Query.Ims.ImsQueryInternal : Number of tables in Result: 2, Relevant Results: 0, Refinement Results: 0 […] Microsoft.Ceres.InteractionEngine.Component.QueryWatcher : Aborting flow (FlowName=Microsoft.PersonalFavoritesProviderFlow, FlowId=00000000-0000-0000-0000-000000000000). Timeout after 15000 milliseconds. […]

Now, I assume the PersonalFavorite Query timeout is a different problem, because it happens after the bit that says no results were found for 'RelevantResults' table

But what I don’t understand if how SharePoint works out what has been added in the last day (and week) that is relevant for the email alert?

Disabling system sounds and alerts without disabling application notification sounds

Is there a way to disable all alerts without disabling notifications for certain apps? For instance, every time I adjust the volume with the keyboard it plays an annoying bing sound, and the only way I know to disable it is to mute System Sounds in settings. This is fine except muting System Sounds mutes the notification sound that plays whenever my thunderbird inbox receives a new message. System Sounds

Need a better way to handle multiple alerts that are stored as an array in TempData

I have a form that is comprised of a table of visual and hidden input elements:

enter image description here

When the form is posted, each input is converted to a string[]:

public IActionResult Assign(int?[] UpdateKey, string[] DriverNumber, string[] NewDriverNumber) { ... 

If there is a change in any of the rows’ values, a message noting the change is added to a List<string>:

List<string> messages = new List<string>();  // process array of values // logic simplified    for (int i = 0; i < UpdateKey.Length; i++) {     if (NewValue[i] != OldValue[i])     {         // update database          // capture change for display in alert         messages.Add($  "MODIFICATION - OldValue: {OldValue[i]}; NewValue: {NewValue[i]}");     } } 

The list is converted to an array and added to TempData:

TempData["Message"] = messages.ToArray(); 

In other controllers, the message is just assigned to TempData:

TempData["Message"] = "Lorem ipsum"; 

I realize that I need to standardize these two approaches.

Finally, the messages in displayed in _FlashPartial.cshtml:

@if (TempData["Message"] != null) {     @if (@TempData["Message"].GetType().IsArray)     {         <div class="alert alert-success" role="alert">             <button type="button" class="close" data-dismiss="alert" aria-label="Close">                 <span aria-hidden="true">&times;</span>             </button>             <ul>             @foreach( string msg in (Array)@TempData["Message"] )             {                 <li>@(msg)</LI>             }             </ul>         </div>     }     else     {         <div class="alert alert-success" role="alert">             <button type="button" class="close" data-dismiss="alert" aria-label="Close">                 <span aria-hidden="true">&times;</span>             </button>                 @TempData["Message"]         </div>     } } 

enter image description here

What I would like to change:

  • The need to check the type of TempData; should be resolved as I refactor the code
  • If there is only a single element in the array, I don’t want to create a UL.
  • Consolidate the array’s null check with its foreach. Maybe this: https://stackoverflow.com/a/6455514/134367?
  • Reduce the redundancy in the partial view

Suggestions welcomed.