Knowledge Base

Snippets

23
private string GetDisplayName(int PortalId, int UserId) {     string UserDisplayName = "";     DotNetNuke.E...

[Read the rest of this article...]

DNN, DisplayName
22
public string FixTokens(string _myOriginal, string _myToken, string _myReplacement) {  try  {   string _ReturnValue = "...

[Read the rest of this article...]

C#, token replacement
19
public void GetRoles() {  DotNetNuke.Security.Roles.RoleController rc = new DotNetNuke.Security.Roles.RoleController();  var myRoles = ...

[Read the rest of this article...]

GetRoles(), DNN 9
19
The list below is a few simple functions which I've come across for generating various dates based on the current date/time (using the Now() funct...

[Read the rest of this article...]

SSRS, Date/Time Functions
Posted in: SSRS
10
https://dnnsupport.dnnsoftware.com/hc/en-us/articles/360010074593-Enabling-the-File-Upload-Function-in-CKEditor

[Read the rest of this article...]

CKEditor
Posted in: DNN, Resource Links
02
Get a list of states using the DNN Lists public void GetDropDownListStates() {  try  {   // Get State Dropdown from DNN...

[Read the rest of this article...]

ListController()
26
public string CreatedByUserName { get { if (createdByUserName == null) { int portalId = PortalController.Instance.GetCurrentPortalSetti...

[Read the rest of this article...]

DNN UserController
24
Check if a DNN TrueFalse (bool) profile property exists and if it doesn't create a new one USE: CheckProfilePropertyExistsTrueFalse("Do...

[Read the rest of this article...]

DNN User Profile
11
<add key="UpdateServiceUrl" value="https://dnnplatform.io" /> Thanks Mitch Sellers! DNN Update Service URL
Posted in: DNN, Core Modules
09
  The classic renaming of cmd.exe to utilman.exe does not work directly anymore in new versions of Windows. Before the latest feature update of...

[Read the rest of this article...]

Page 5 of 34First   Previous   1  2  3  4  [5]  6  7  8  9  10  Next   Last