Tip of The Day Maintenance

We have quite a few customizations and to get the word out to the users better other than blast emails, I wanted to start using the Tip of The Day as a tool to push those new dashboards or reminders out to people.

I see that in the maintenance screen that there is an Active button, which I assume would allow me to make some tips inactive. But the system generated tips are grayed out. Some don’t apply to us, or at least not yet, so I’d rather not display those and have people ignore them.

Is there a way to inactivate them? Maybe DMT?

Drop this in a Post Processing BPM on Ice.BO.Tip.GetRows
and Ice.BO.Tip.GetByID (if you want to edit a single row)

  foreach(var row in result.Tip)
  {
      row.SystemFlag = false;
      row.Company = Session.CompanyID;
      row.AllCompanies = false;
  }

Pros:

  • Edit them at will

Caveats:

  • This will move it into your company when you save. (who cares?)
  • Anything that is All Companies, cannot be marked All Companies again. (if it exists)


Alternative:
Since it let me update the records after spoofing it, you could probably do this with a ubaq and the bo. You could definitely do it with the Db context.

1 Like

Awesome! Thanks, Kevin. We will take a look at this and let you know the outcome. I appreciate the help! I figured it was something that could be done.

Thanks again!

No go, at least with standard functionality, even after editing the advanced properties, UpdateExt didn’t like it. You could still modify the UBAQ BPM to use Update or the Db context though.

The little BPM snippet however seems like the easiest solution especially since you can just click the “List” tab:

Kevin,

That worked like a charm, thanks! I’m surprised the system doesn’t throw a fit over disabling a “SystemFlag” but in the context of “Tips of the Day” it is inconsequential…at least I think it is lol.

That’s the same thoughts I had, some programmer said it’s just tips…

aint nobody got time for that GIF

It looks like we are up and running! Thanks for making us a bit more dangerous than we probably should be! lol

But this gets us to where we need to be so all is good!

Thanks again for your help!

image