Skip to content

Commit 746fc79

Browse files
docs: add comprehensive environment variables & ALM guide for SharePoint
- Created app-lifecycle/environment-variables-sharepoint-alm-guide.md - Complete step-by-step checklist for setting up environment variables - Covers SharePoint site/list configuration with Data Source type - Includes connection references vs environment variables comparison - Canvas app integration (automatic + manual Advanced tab methods) - Power Automate flow integration with dynamic content - Full deployment checklist (export, settings file, import) - Cross-tenant deployment section for moving to different M365 tenants - Naming conventions, best practices, and troubleshooting - Updated app-lifecycle README with new guide reference 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 77d664e commit 746fc79

3 files changed

Lines changed: 658 additions & 42 deletions

File tree

RESUME.md

Lines changed: 35 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,50 @@
11
# RESUME.md - Project State
22

33
## Last Session
4-
- **Date:** 2025-12-17 (late night)
4+
- **Date:** 2025-12-18
55
- **Model:** Claude Opus 4.5
66

77
## Current State
88

9-
Validator fixed, folder casing corrected. All 3 remotes in sync. GitHub Actions should now pass.
9+
Added comprehensive Environment Variables & ALM Guide for SharePoint solutions. All remotes in sync.
1010

1111
**Branch:** `main`
1212

13-
## What Was Accomplished This Session (2025-12-17 late night)
14-
15-
### 1. Fixed Snippet Validator (GitHub Actions Failure)
16-
- **Problem:** 127 files failing validation with "Missing YAML front matter"
17-
- **Root Cause:** Validator was scanning documentation directories (ai-chats, ai-protocols, etc.) that aren't code snippets
18-
- **Solution:** Added exclusion lists to `tools/validate-snippets.js`:
19-
- 44 excluded directories (ai-chats, ai-protocols, docs, utilities, fonts, icons, etc.)
20-
- 12 excluded file patterns (readme.md, index.md, changelog.md, etc.)
21-
- **Result:** 199 files → 62 actual snippets validated, all passing ✅
22-
23-
### 2. Fixed Git/GitHub Folder Casing Mismatch
24-
- **Problem:** GitHub showed `Communities`, `Constants`, etc. while local had lowercase
25-
- **Root Cause:** Windows/Git case insensitivity - Git tracked old PascalCase names
26-
- **Solution:** Used `git mv` two-step rename for 12 folders:
27-
- Communities → communities
28-
- Constants → constants
29-
- Design → design
30-
- Emojis → emojis
31-
- Errors → errors
32-
- Fonts → fonts
33-
- Geocoding → geocoding
34-
- Icons → icons
35-
- Images → images
36-
- JSON → json
37-
- PowerShell → powershell
38-
- Unicode-Magic → unicode-magic
13+
## What Was Accomplished This Session (2025-12-18)
14+
15+
### 1. Created Environment Variables & ALM Guide
16+
- **File:** `app-lifecycle/environment-variables-sharepoint-alm-guide.md`
17+
- **Purpose:** Complete step-by-step checklist for setting up environment variables and deploying Power Platform solutions across environments and tenants
18+
- **Content includes:**
19+
- Prerequisites checklist
20+
- Environment variable types explained (Text, Number, Data Source, Secret, etc.)
21+
- Connection References vs Environment Variables comparison
22+
- SharePoint-specific environment variables setup (Site URL + List)
23+
- Canvas app integration (automatic and manual methods)
24+
- Power Automate flow integration
25+
- Complete deployment checklist (export/import)
26+
- Cross-tenant deployment checklist
27+
- Naming conventions and best practices
28+
- Troubleshooting common issues
29+
- Quick reference cards
30+
31+
### 2. Updated app-lifecycle README
32+
- Added new "Environment & Deployment" subcategory
33+
- Added guide to complete snippet index
34+
- Updated Recent Updates section
35+
- Incremented snippet count to 26
3936

4037
### Commits Made
41-
- `4e3d81f` - fix(validator): exclude documentation directories from snippet validation
42-
- `32933eb` - Remove obsolete string manipulation functions (pushed during sync)
43-
- `8d9c38c` - fix: correct folder name casing for Git consistency
38+
- `[pending]` - docs: add comprehensive environment variables & ALM guide for SharePoint
4439

4540
---
4641

47-
## Previous Session (2025-12-17 night)
42+
## Previous Session (2025-12-17 late night)
4843

49-
### Repository Reorganization Phase 2
50-
- Completed Gallery migration (T022-T029)
51-
- Completed Color files update (T042-T045 partial)
52-
- Added History sections to 24 modified files
44+
### Fixed Snippet Validator & Folder Casing
45+
- Fixed validator scanning documentation directories
46+
- Corrected 12 folder casings for Git consistency
47+
- Commits: `4e3d81f`, `32933eb`, `8d9c38c`
5348

5449
---
5550

@@ -61,7 +56,7 @@ See git log for full history of reorganization work.
6156

6257
```
6358
PowerFxSnippets/
64-
├── app-lifecycle/ # App formulas, OnStart, OnError, etc.
59+
├── app-lifecycle/ # App formulas, OnStart, OnError, ALM guides
6560
├── data-operations/ # Data sources and samples
6661
├── functions/ # Algorithms, built-in, user-defined
6762
├── integrations/ # Connectors, Power Automate
@@ -74,9 +69,9 @@ PowerFxSnippets/
7469

7570
## Next Steps (Pick Up Here)
7671

77-
1. **Verify GitHub Actions passes** - Validator should now work
78-
2. **Continue Phase 2 migrations** from spec kit tasks
79-
3. **Fix broken internal links** (T202)
72+
1. **Continue Phase 2 migrations** from spec kit tasks
73+
2. **Fix broken internal links** (T202)
74+
3. **Add more ALM/deployment content** as needed
8075

8176
## Git Remotes
8277

app-lifecycle/README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,14 @@ This category focuses on application-level operations and lifecycle management i
9494

9595
**When to use**: Managing which screen users see first or implementing complex navigation flows.
9696

97+
### Environment & Deployment
98+
**Purpose**: Environment variables, connection references, and ALM patterns for solution deployment.
99+
100+
**Key Snippets:**
101+
- [**Environment Variables & ALM Guide**](./environment-variables-sharepoint-alm-guide.md) - Complete SharePoint deployment checklist
102+
103+
**When to use**: Setting up configurable solutions that can be deployed across Dev/Test/Prod environments or different tenants.
104+
97105
## 🔍 Search & Filter
98106

99107
### By Technology
@@ -185,6 +193,7 @@ After mastering this category, consider:
185193
## 📈 Recent Updates
186194

187195
### Latest Additions
196+
- [**Environment Variables & ALM Guide**](./environment-variables-sharepoint-alm-guide.md) - Added 2025-12-18 - Complete SharePoint deployment checklist
188197
- [**App.OnMessage Patterns**](../app-onmessage/app-onmessage.md) - Added 2025-12-17 - Message handling examples
189198
- [**Advanced Error Handling**](../app-onerror/fxapponerror-pa.yaml) - Added 2025-12-17 - Complex error scenarios
190199
- [**Formula Collections**](./formulas/collections/color-enum-in-named-formula.md) - Added 2025-12-17 - Color management
@@ -230,10 +239,13 @@ After mastering this category, consider:
230239
### Messaging
231240
- [App.OnMessage](../app-onmessage/app-onmessage.md)
232241

242+
### Environment & Deployment
243+
- [Environment Variables & ALM Guide](./environment-variables-sharepoint-alm-guide.md)
244+
233245
---
234246

235-
**📊 Last Updated**: 2025-12-17
236-
**📄 Total Snippets**: 25
247+
**📊 Last Updated**: 2025-12-18
248+
**📄 Total Snippets**: 26
237249
**👥 Maintainers**: PowerAppsDarren
238250

239251
---

0 commit comments

Comments
 (0)