Skip to main content

#Navigation Menu0 discussing

Hi,

 

I'm trying to add the Contact object to the App navigation menu for a particular group of users in a profile.

 

Does anyone know of a simpler way of doing this besides logging in as each user and adding it from the navigation menu?

 

Thanks

Laura

 

#Navigation Menu

1 answer
  1. Piyusha Pilania (Implementology) Forum Ambassador
    Nov 29, 2023, 3:48 PM

    Hi @Laura Arosio,

     

    Logging in as the user and adding it is the only way I know. I don't think there is any other straightforward way of doing this.

0/9000

Hi, 

 

I've got one sales representative who when we edit the app navigation items, he cannot "add more items", there is nothing he can select in here. He is the only one in that case ! 

 

Thanks for your support !

 

#Navigation Menu

2 answers
0/9000

I am trying to create a custom LWC where I am showing 3 records, below that I am trying to implement View All functionality. It should show the total records in next tab.

Now, can someone suggest how to implement View All functionality ?

 

Using NavigationMixin, seems there is no type to call child LWC component. Any other best approach to share ?

#Sales Cloud #Salesforce #Trailhead Challenges #Trailblazers #Navigation Menu 

@Amnon Kruvi

1 answer
  1. Aug 22, 2021, 4:21 PM

    Hi Teja,

     

    Remember that you don't exactly navigate to components. Components are all part of the same page, and they can be shown or hidden as required.

     

    Assuming you have a component showing X records, out of a total of Y records, I would personally consider building it as a parent component which performs the loading of X or Y records (depending on a button press), and then uses a child component to display each individual loaded record. I don't think there is a real need to have one component that shows X records, and a second component that shows Y records.

     

    But even if, theoretically, there was such a need, you would not need to change the page or deal with navigation at all. You'd just want to show or hide this child component based on whether or not the button was pressed:

    <template if:true={viewAll}>

    <your-component-here></your-component-here>

    </template>

0/9000

Hi, I'm trying to customize the navigation menu for the Mobile Only app, I have 4 hands-on orgs connected to my trailblazer account, I tried to customize it in 2 of the orgs, but I still don't see the change in my mobile app, am I missing something here?  I logged into my mobile app using my trailblazer account credentials.

2 comments
  1. Apr 26, 2021, 4:15 PM
    Thank you, Santosh! I have posted my question in Trailblazer Community, hopefully will get an answer soon.
0/9000

HI, I need help with Default Navigation/ Navigation Menu setup.  I am selecting a Type: "Site Page" and selecting one of the Salesforce Object pages I created: "Project List". It then gives me the URL: /proj/:objectApiName/:filterName and says to replace the parameters with the URL of the page.  So I grab the API name of the Project object and API name of the List View to get: /proj/pse__Proj__c/Projects_List . Now it allows me to save the menu, but when I click on the menu in Preview mode, I get "Page not available" message.  What am I doing wrong here? 

(I checked that I can see Projects List by adding a Record List component on the Home page and using the same Filter/List view to display).

5 comments
  1. Feb 4, 2021, 3:08 PM
    You can add any filter, just get the filter Id value from the list views of the record. Hope this helps you.
0/9000

Facing an issue with automating Salesforce Lightning Internal.

I have an element 

public @FindBy(how = How.XPATH, using = "//button[@aria-label=\"Show Navigation Menu\"]") WebElement chevrondown;

 

Im trying to click it waitAndClickElement(chevrondown);

 

And log says 

Successfully clicked on the WebElement: <Proxy element for: DefaultElementLocator 'By.xpath: //button[@aria-label="Show Navigation Menu"]'>

 

However I don not see the Pulldown menu on salesforce which shows as a result of the click

1 comment
  1. Dec 14, 2020, 7:24 AM
    Hi @Han Nav

    ,

    what I think is happening is that the Selenium click() command does not work here. We are seeing this more and more across the Salesforce app.

    Assuming that you are using Java, please try using a JavaScript click using this command sequence:

    JavascriptExecutor js = (JavascriptExecutor) driver;

    js.executeScript("arguments[0].click();", chevrondown);

    Hope this helps!

    Georg

0/9000

Has anyone else run into this issue where their navigation menu is duplicated but you have no delete in the builder? If so, how were you able to resolve it? We are trying to launch and this is our last roadblock!

37 comments
0/9000

Hi everyone!

 

We're building a cummunity for a client and we need to hide the Homepage menu label from the navigation menu

From my knowledge it's not possible to hide the Home page button/label from the menu by standard methods.

 

I'm currently using the Cypress Template.

I've found a CSS override:   .navigationMenuNode:first-child { display: none; visibility: hidden; }

 

However, this css hides the Homepage button AND every first menu voice from the sub-menu so it's not a proper solution

 

Does anyone know how another way to hide the button?

Thanks

 

@* Experience Cloud * @* Experience Cloud - Best Practices * 

2 comments
  1. Jul 14, 2020, 2:51 PM

    Thank you for your answer!

    However,

    .comm-page-home li.tabs__item.uiTabOverflowMenuItem {

    display:none;

    }

    Doesn't seem to work. The Home page label it's still there

0/9000

I have created two different navigation menus and assigned each to their respective audience.

However, when I login as each user type thesanem navigation menu appears.

3 comments
  1. Jun 23, 2020, 4:28 PM
    @Taylor Grimes Is this the same reason why changing a 'record list' to shows tasks overrides another 'record list' that was set to an account list?
0/9000

Is there a solution for prompting the user about unsaved changes before navigating away from a page in a lightning community? If data is not saved when the user clicks on the Home button on the navigation menu I need an alert modal to open allowing the user to cancel the navigation. The lightning:unsavedChanges component does not seem to be an option. The components on the page in question are all aura. Any thoughts?

0/9000