How to change Profile layout - salesforce

When I'm selecting particular profile from Profile's list(manage users-profiles)
it looks like this
In one tutorial I saw it looks differently
how to change my layout on second one?

You will want to enable Enhanced Profile User Interface.
In the setup menus, under "Customize", click "User Interface". The Enanced Profile User Interface will be one of many checkboxes on that page.

Related

How to change the Read Access to the users on custom Visualforce page in Salesforce

The question is about the custom visualforce page in Salesforce. The page is created for getting contacts, opportunity, loans all are at a single dynamic link on the account named "Manage portal Access" Which comes under "Customer Portal Access" Tab like details and related list under "Account" Tab.The page was created to Manage the customer account, contacts and opportunities relationship. The page contains Email, Role, Last Login and a Toggle button as "Enabled".When this toggle button is enabled, those users have access to this portal relationship. It has respective apex class also.
The task here is, the toggle button can be enabled/disabled by some users, this want to be changed here by providing Read only access and assign two permission sets for edit access on this portal enable/disable.
" As a user I want Read Only Access to the portal tab. I want to be able to view all information on the tan and click through any dynamic links, but not be able to toggle the portal enable or un-portal enable any contacts. All Salesforce users should have a minimum of read only access to the Customer Portal Access Tab. The two permission below currently and should continue to provide edit access to the customer portal access section.
Create Customer Portal User
Document Manage Portal Admin "
Whether there is any customization option like providing access to objects in Salesforce through (Layouts, Fields FLS, Validation Rule)?
Or
-This can be achieved only through code on Visual force page and it's respective apex class, if this is the case how can I do it, whether there is any certain command or method for providing access or through controller class?
The "normal" object permissions (Create/Read/Update/Delete) and field level security (Read/Update) can be referenced in Visualforce. Something like this might be enough for you:
<apex:commandButton disabled="{!$ObjectType.Contact.fields.Role__c.updateable}">
Check the DescribeFieldResult in Apex reference. There's also something mentioned in VF developer guide but it's bit hidden and not as detailed: https://developer.salesforce.com/docs/atlas.en-us.234.0.pages.meta/pages/pages_variables_global_objecttype.htm
If you need more control than just whether field is editable or not - maybe look into Custom Permissions. They're your own checkboxes you add to Profile/Permission Set and you can check them in pure VF too, no apex required.
So... you decide. If most of the page is supposed to be identical, "just" about the button being enabled/disabled (or maybe even not rendered at all) - it's best to put the condition in the button. If it sounds like you need 2 different layouts - having 2 big blocks of code and one or another rendered might be cleaner to maintain and test.
P.S. Remember that good tester can activate the button using browser's developer tools. You should make similar "is field accessible / is custom permission assigned" check in Apex that runs on button click.

Adding custom action buttons to Wagtail Admin

In Wagtail, I currently have content which I wish to update based on API calls to another website:
I have a VideoPage with fields like url, title and description. When adding a VideoPage I'd like to be able to enter just the url , click a button, and it'll try to prepopulate the other fields by making API calls (via either the front end or back end)
I also have a ChannelPage, which VideoPages are children of. I'd ideally like a way to click a button in admin, have my server check whether the channel has new videos, then create new VideoPage children accordingly.
From the above use cases, I believe my problem comes down to this: is it possible to add standalone action buttons to the admin area for a Page which, when clicked, allows the backend to edit fields, create new pages, etc. accordingly?

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

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

Couldn't see the tab I created when I log in as another user (on Force.com Platform)

I was working one of the force.com coockbooks. I created a Mileage object and addes some features like workflows and etc (This is done after I log on as an admin in my developer force account). I then created another user(Standard user). And I wanted that user to use the Mileage object to create new Mileage. However, Mileage tab is not visible. I tried by making it visible to all users in Create Apps. But, still it is not visible (as a tab) to my new created user.
How should I make Mileage tab visible so that the new created user can use Mileage tab to create a new record?
Thank you.
To ensure a non admin user has rights to access the object-tab you're creating, you should:
Verify that the user's profile, as a minimum, has read access to the object (go to user's profile's setup screen and verify the "Custom Object Permissions" section)
Ensure that the object you're displaying in the tab is "deployed" (This is a simple property on your custom object definition called "Deployment Status")
In addition to these suggestions, it could be that the tab is hidden to the user. This could be taken care of as described in Ralph's answer.
There are two things you'll want to check
First, make sure the tab is visible to the profile you're logged in as. From documentation (login may be required):
Click Your Name | Setup | Manage Users | Profiles.
Select a profile.
Depending on which user interface you're using, do one of the following:
a. Enhanced profile user interface—In the Find Settings... box, enter the name of the tab you want and select it from the list, then click Edit.
b. Original profile user interface—Click Edit, then scroll to the Tab Settings section.
Specify the tab visibility.
(Original profile user interface only) To reset users’ tab customizations to the tab visibility settings that you specify, select Overwrite users' personal tab customizations.
Click Save.
This may take care of it. If the tab still isn't visible when you're logged in as the new user, click the '+' at just after the last tab and then click 'customize tabs'. Select the new mileage tab and add it to your app.

Resources