Dotnetnuke update displayname does not show immediately - dotnetnuke

In dnn in each of the skin i have placed a <dnn:User control. The app allows the user to update their display name (nothing but email).
when the user updates the email address and click update on page refresh it does not reflect on the skin. The new email does not show on the skin.
when i logout and login it shows correctly.
I am using DotnetNuke membership
After the UpdateUseris successfully called if i observe the clearcache is not clearing the current user info.
if i see the httpcontext.Current.Items["UserInfo"] i can still see the old email etc.
After i logout and login again i am able to see the new profile updated.
Is there any work around for this
how to solve this problem

The user will be cached - so make sure you use the API to update the display name.
this.UserInfo.DisplayName = "New Name";
UserController.UpdateUser(PortalId, this.UserInfo);

Related

Salesforce Send Email UI not displaying

The UI to send emails from Salesforce (including Subject, Body, etc.) is not displaying:
This Activity section is visible on the right of a Contact Record.
On the Related List "Activity History", the button "Email" is showing the same empty UI.
I am logged as a System Admin, I have all the permissions to access the object EmailMessage;
The UI displays as expected when using Saleforce Classic:
Any idea of why the send Email UI is not displaying the normal set of fields (Subject, Body, To, etc.) with Lightning Experience?
Is it in same org, same user? You may have org-wide email ban (Setup -> Deliverability -> No access) or on profile are you sure you have "send email" selected?
Have you viewed same object in classic and lightning? maybe what you viewed in lightning doesn't have "allow activities" ticked in object's definition.
It sounds like it's "just" the email composer rich text area because the send button is there. And couple more (but not all) buttons, interesting.
I'd expect 6 buttons: attach, merge field, template, preview, popup, discard
Any errors in Javascript console when you view this menu in lightning? (depends on browser, Windows users typically F12 or Ctrl+Shift+J, Mac users... command+option+J I think)
The root cause of the issue was that the Layout of the Global Action Email (API Name=SendEmail) did NOT contain any field.
After dragging-dropping the fields into the Global Action Layout, the functionality started working smoothly without the "error on parameter record: ava://sfdc.uisdk.connect.api.output.RecordRepresentation "
This resolves this issue.

Dot Net Nuke page is unable to be edited after changing permissions

This is my first time looking at Dot Net Nuke. I have a customer who set a page to only be visible to unregistered users. It will not show up when signed in as an administrator.
About Us showing up as a guest/unregistered user:
About Us not showing up as a registered user/administrator:
I am able to copy the page, but can't place it at the top since the original page already exists. I was trying to find a way to edit the database to undo the permissions changes but haven't been successful at that.
If you login as a super user, you should be able to go to the Pages Persona Bar item, select the page in question, and edit its permissions. You can edit any page from the Persona Bar's Pages item.
If you are using an earlier version of DNN, you can use the Admin, Page Management page to accomplish this.

How to get Custom Profile Property to show in Edit Profile

We need to add some custom profile properties to user accounts. So we have gone through Site Settings and added the Custom Profile Properties and made sure they are visible to all. What expect is that now a user can go to Edit Profile and those new custom profile properties can be set. It doesnt happen. What are we missing?
Depending on your version of DNN there are a few things that could be happening.
Be sure to clear the cache, and/or restart the application to ensure that the list is current
Check to see if your site is using anything for a custom profile module. (Either customized registration form via Admin -> Site Settings -> User Accounts or possibly using Dynamic Registration or otherwise.) If using a custom form you will need to update it as well

Remove or Customize the default popup skin in DNN 7.3

I am trying to customize the Gravity skin in DNN 7.3. Specifically, i would like to either remove the popup page that appears to users after they login ("welcome to your website"). However I couldn't find how to. Any ideas?
It used to be a Getting Started page found on the admin/page management page, but it appears that it is now loaded straight from DNNsoftware.com when you login for the first time.
I found a hostsetting that you can change in the DB to turn it off
UPDATE dbo.HostSettings SET settingvalue = 'false' WHERE settingname = 'EnableGettingStartedPage'
Once you run that you should clear the cache/restart the APP from the TOOLS menu in DNN in order to ensure the setting is updated for any future SuperUser accounts that login.

Dot Net Nuke issue with new page visible to Admin Only in Nav

I have an issue with DotNetNuke where only the admin can see a new page I've added in the main navigation (the page appears in sidebar for all users)
After creating a new page with DotNetNuke, I can manually browse to the page, and all links to it work however it is only visible in the navigation menu when I'm logged in as administrator.
Manually going to the page works fine when not logged in. Include in Menu? is checked (and been toggled) and I've tried all variations of permissions I can think of (which apart from the navigation issue work exactly as I would expect).
I hope this is the correct format I'm still relatively new!
Sounds like you have the page settings set to admin only for view... navigate to the page click on pages>page settings. click on the permissions tab and make sure inherit page settings from parent page is unchecked. Then next to All Users, Registered Users, Subscriber,
Translator (en-US), Unauthenticated Users and Unverified Users make sure there is a green check mark in the view section. Then make sure that page is disabled in advanced settings is unchecked and include in menu in page settings is checked.... Hope this helps... If not try making a new page and copy all the modules from the old one and see if that works

Resources