Skip to content

OrderAppMenu

pozil edited this page Nov 14, 2024 · 7 revisions

OrderAppMenu Class

A queueable class to prioritize this sample app in the org wide App Menu. This is done as a Queuable, because calling setOrgSortOrder causes an exeception if your setup script is also creating non-metadata records, for instance accounts.

Group Shared Code

Implements

System.Queueable

Methods

execute(qc)

SUPPRESSWARNINGS

reorders the org wide AppMenu order so Apex Recipes is the first seen.

Signature

public void execute(QueueableContext qc)

Parameters

Name Type Description
qc QueueableContext dependency injected by the system at runtime.

Return Type

void

Clone this wiki locally