惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

阮一峰的网络日志
阮一峰的网络日志
IT之家
IT之家
H
Heimdal Security Blog
Jina AI
Jina AI
宝玉的分享
宝玉的分享
博客园 - 【当耐特】
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
爱范儿
爱范儿
T
Tailwind CSS Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
有赞技术团队
有赞技术团队
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
AWS News Blog
AWS News Blog
C
Cisco Blogs
Cisco Talos Blog
Cisco Talos Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
D
Darknet – Hacking Tools, Hacker News & Cyber Security
The Hacker News
The Hacker News
The Cloudflare Blog
Hugging Face - Blog
Hugging Face - Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
T
Threatpost
S
Securelist
P
Privacy International News Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
博客园 - 聂微东
博客园 - 叶小钗
J
Java Code Geeks
V
V2EX
博客园 - Franky
Spread Privacy
Spread Privacy
K
Kaspersky official blog
C
Cyber Attacks, Cyber Crime and Cyber Security
Simon Willison's Weblog
Simon Willison's Weblog
Project Zero
Project Zero
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
C
Cybersecurity and Infrastructure Security Agency CISA
C
CERT Recently Published Vulnerability Notes
Latest news
Latest news
NISL@THU
NISL@THU
罗磊的独立博客
W
WeLiveSecurity
Google DeepMind News
Google DeepMind News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
博客园_首页
V
Visual Studio Blog

博客园 - freeliver54

[转]职场英语100句 Microsoft Certified: Agentic AI Business Solutions Architect AB-100考试学习指南:智能体AI业务解决方案架构师 Microsoft Certified: AI Agent Builder Associate AB-620 AI 代理构建者助理级认证 [引]深港澳金融科技师 [转]个人金融信息保护技术规范 [引]langchain docs 文档 [转]Assessing Claude Mythos Preview’s cybersecurity capabilities 华为2025年年度报告 Power Platform Release Notes Planner 字节 TRAE 智能编码助手 通义灵码 Python Chroma 相关命令 国内网络环境下 MiniConda + Jupyter + ChromaDB 安装教程 [转]ITIL4有哪些内容 - 洛恺辰 [转]招聘总提 ITIL4 却不懂?搞懂它,IT 再也不用当 “背锅侠 DeepSeek 提取 交易所网站核心500词汇(名词与术语) [引]阿里 无影 Agent 开发套件 AgentBay [转]Register an application [转]Adobe Marketo 向 Azure 註冊應用程式,以取得用戶端 ID/應用程式 ID [引]Regenerate the SAS key used in HTTP trigger flows [引] Azure 服务 [转]学习指南 - PL-600:Microsoft Power Platform 解决方案架构师 软件开发人员 赋能自身 的 能力前展和后延 [转]Power Apps component framework (PCF) 手把手入门实例 [转]Power Apps Dataverse Tutorial: Write and register a plug-in
[转]Power Apps Standards: Naming Conventions
freeliver54 · 2025-09-13 · via 博客园 - freeliver54

PowerApps canvas app coding standards and guidelines

https://www.microsoft.com/en-us/power-platform/blog/wp-content/uploads/2024/06/PowerApps-canvas-app-coding-standards-and-guidelines.pdf

Power Apps coding guidelines

Power Apps coding guidelines - Power Apps | Microsoft Learn

Power Apps 编码指南 - Power Apps | Microsoft Learn

本文转自:Power Apps Standards: Naming Conventions - Matthew Devaney

 Table Of Contents:

Screen NamesControl NamesVariable NamesCollection NamesDatasource Table Names

Screen Names

A screen name should clearly describe its purpose in 2-3 words ending with word “Screen.”  Use proper-case.   A screen-reader will speak the screen name to visually-impaired users when the screen loads.

Good Examples Bad Examples Bad Reason
Appointments Screen Appointments Missing the word ‘Screen’
Order Form Screen OrderFormScreen Not friendly to a screen reader
Collect Signature Screen scrCollectSignature Not friendly to a screen reader

Control Names

A control name should show the control-type, the purpose and the screen.  Use camel-case and underscores for spacing.  For example, the control named txt_OrderForm_FirstName is a text input that captures first name on the app’s Order Form Screen. 

Good Examples Bad Examples Bad Reason
drp_NewEmployee_Department drpDepartmentNewEmployee No spacing
btn_OrderForm_Submit btn_Submit_OrderForm Wrong order
gal_Home_Appointments gly_Home Appointments Non-standard control prefix

A list of standard control prefixes can be found below.

Control  Prefix
3D Object 3do
Add Picture  pic
Address Input  add
Audio  aud
Barcode Scanner  bar
Button  btn
Camera Control  cam
Canvas  cvs
Card  dtc
Charts  chr
Check Box  chk
Collection  col
Container  con
Combo Box  cmb
Component cmp
Date Picker  dte
Drop Down  drp
Export exp
Form  frm
Gallery  gal
Group  grp
HTML Text  htm
Icon  ico
Image  img
Import imp
Label  lbl
List Box  lst
Map  map
Measuring Camera mcm
Microphone  mic
Microsoft Stream  str
PDF Viewer  pdf
Pen Input  pen
Power BI Tile pbi
Radio  rad
Rating  rtg
Rich Text Editor  rte
Shapes  shp
Slider  sld
Table  tbl
Text Input  txt
Timer  tmr
Toggle  tgl
Video  vid

Variable Names

A variable name should show the scope of the variable and its purpose. Use camel-case with no spaces between each word. For example, the variable gblUserEmail is a global variable which holds the current user’s email address.

Good Examples Bad Examples Bad Reason
gblUserCurrent UserCurrent No scope
locPacksInBoxQuantity Loc_Packs_In_Box_Quantity Improper capitalization and spacing
LocIsLoading locBoolLoading Do not use data types in variable names
varWorkdaysDuringVacation varWorkdays Not descriptive enough

Collection Names

A collection name should contain the original datasource and describe its purpose. Use camel-case with no spaces between each word.  For example, the collection colDvInvoices is a collection of invoices from Dataverse.

Good Examples Bad Examples Bad Reason
colSpEmployees colEmployees No datasource
colDvSalesLeads coldv_salesleads Improper capitalization and spacing
colNavigationMenu NavigationMenu Do no use data types in variable names

A standard list of datasource abbreviations can be found below:

Original Datasource Abbreviation
Dataverse Dv
SharePoint Sp
SQL Sql
Salesforce Sf
None (created in-app) (none)

Datasource Table Names

A datasource created by the developer should have 1-3 words to describe its purpose.  Use the singluar form of the word and proper-case.  Be as concise and clear about the purpose of the datasource as possible.

Good Examples Bad Examples Bad Reason
Employee Emp Abbreviation instead of full word
Construction Project Projects Too general, what type of projects?
Repair Order RepairOrders No spacing, plural