Build A Portal Tutorial
Build A Portal Tutorial
● Add yourself as a test user to the Technicians group (needed for testing).
● Add the a!startProcess function to the pre-built interface, so that it launches a repairs
process in Appian.
● Create and configure a portal.
Appian Version
Appian Community Edition is on the latest Appian version. If you are following the exercises
from a previous Appian version, go to academy.appian.com to download the latest version.
Naming Conventions
When you register for Appian Community Edition, you gain access to a workspace, which is
your own personal area within the community environment. Pre-built apps have a workspace
identifier that appears in application prefixes. When creating new apps, be sure to include this
identifier in the app prefix. Otherwise, you could run into naming conflicts with objects created
by other users.
For example, the screenshot below shows apps that are preloaded into Appian Designer. The
application prefix for the Acme Automobile Reference app is W000AA, so the workspace
identifier is W000. W000 would be included at the beginning of any new app prefixes.
The App Catalog contains the most recent versions of pre-built apps available in Appian
Community Edition. To go to the App Catalog, on Community Edition Home, click BROWSE
APP CATALOG.
To determine if you have the latest app version, select the app in the list and review the last
updated date. If this date is later than when you registered for Appian Community Edition, you
should deploy a new version. If you recently received your workspace, you likely have the
latest versions.
Save Often
Appian does not automatically save updates, so save your objects frequently.
Additional Resources
Appian provides a number of training resources for Appian developers. The following
resources are particularly popular with our learners:
● Academy Online - Appian’s online courses provide useful survey courses, step-by-step
tutorials, and practice exercises. Explore these resources at your own pace. Survey
courses will help you develop a better grasp of the topics you need to learn. Video and
print tutorials will help you with getting hands-on experience with Appian.
● Community Discussions for New Users - Check out the New to Appian thread in
Community. Join our community of experts to ask questions and find answers from
past discussions.
3. Select a region, then complete the onboarding questions and acknowledgement. When
your workspace has been assigned, you’ll receive a confirmation email.
Keep in mind that this is a community environment not suitable for production workloads or
sensitive information.
1. After logging into your Appian Community Edition, click the Navigation menu , then
Appian Designer.
2. In the list of applications, find and open the Wyndhamm Power Outage app.
6. In the Users to Add field, search for and select yourself, then click ADD.
3. At the end of line 4, press Enter to add a line. Enter the expression below. Type this
expression yourself; do not copy and paste it.
This expression sets up the local variable to temporarily store the outage data, until it’s
saved into specific record fields. After you type in this expression, you’ll notice the
local!outage: a!refreshVariable(
value: recordType!W#WPO Power Outage (
recordType!W#WPO Power Outage.fields.street: null,
recordType!W#WPO Power Outage.fields.city: null,
recordType!W#WPO Power Outage.fields.state: null,
recordType!W#WPO Power Outage.fields.status: “Reported”
),
refreshOnVarChange: {local!result, local!errorMessage
}),
8. Click OK.
9. Next to Save Input To, click the Edit as Expression icon.
12. In the same manner, for the City field, update Display Value and Save Input To:
13. For the State field, update the Display Value and Save Input To:
15. In the Component Configuration pane, under Data Source, next to List of Any
Type, click the Edit as Expression icon.
● If you accidentally click the Data Source cards, you’ll clear the current
expression. To fix it, click the Expression card choice again, then click the Edit
as Expression icon. When you complete the next step, you’ll be back on track.
{
a!map(
id: 1,
icon: "home",
primaryText: local!outage[recordType!W#WPO Power
Outage.fields.street],
secondaryText: local!outage[recordType!W#WPO Power
Outage.fields.city]& " " & local!outage[recordType!W#WPO Power
Outage.fields.state]
)
}
2. In the Component Configuration pane, next to Save Value To, click the Edit as
Expression icon.
a!startProcess(
processModel: cons!W#WPO_POWER_OUTAGE_PROCESS_MODEL,
processParameters: {
outage: local!outage
},
onSuccess: a!save(local!result, fv!processInfo.pv.outage)
)
4. In the Component Configuration pane, scroll down and update the following fields:
6. Click TEST at the top of the interface to reload the interface and clear any test data.
7. Add test data into the Street, City, and State fields, then click SUBMIT.
8. Confirm that the result local variable now contains your test data.
NOTE: The test data will clear from the form (clearing out the outage local variable)
3. Click the W#WPO Power Outage hyperlink in the first row. There should be 1 active
task.
○ If there is not an active task, return to the W#WPO_ReportOutage interface,
enter test data, and click SUBMIT again.
7. Confirm the test data you submitted in the report outage interface displays to the
technician. Update the Status to Fixed, and click SUBMIT.
10. At the top of the Process Details dialog, select the Variables tab.
11. Confirm the values you typed into the W#WPO_ReportOutage interface were saved to
the outage process variable, and close the Process Details.
Create a Portal
1. Return to the WPO app’s Build view in Appian Designer, and click NEW > Portal.
Configure the portal as follows:
● Name: Enter W#WPO Report Outage. Only developers will see this name.
● Display Name: Enter W#WPO Report Outage. The display name will appear
in the browser tab.
Click CREATE.
3. In the Pages section, click ADD PAGE to add the primary interface to your portal.
● Title: Enter Report Outage. This page title will only display in the header bar
if your portal has more than one page.
● Web Address Identifier: Populates automatically based on the title.
● Content: Select the W#WPO_ReportOutage interface.
4. Click ADD. You’ll see the page display in Branding Preview. You can add multiple
pages to a portal, and you can click Add Page Group to add a nested group of pages,
under a page group title.
5. Scroll to the Navigation Bar section. By default, Show navigation bar is selected,
but you won’t see the navigation bar unless your portal has more than one page. Keep
the default Header Bar layout.
6. Scroll down to Branding. Under Accent Color, select Hex code and update it to
#3c79d7.
8. NOTE: Keep in mind that publishing and service account creation is disabled in the new
version of Appian Community Edition by default, so you won’t be able to publish your
portal to be accessible from the web.
Visit Appian Documentation to learn about publishing and service accounts for
portals.