Skip to content

Add pp-app-canvas template for scaffolding canvas apps#108

Open
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/pp-canvas-app
Open

Add pp-app-canvas template for scaffolding canvas apps#108
zekelinAlex wants to merge 2 commits into
TALXIS:masterfrom
zekelinAlex:users/alexander.zekelin/pp-canvas-app

Conversation

@zekelinAlex

Copy link
Copy Markdown
Contributor
  • pp-app-canvas writes the full layout (meta.xml + BackgroundImageUri + .msapp + AdditionalUris0_identity.json), registers a RootComponent (type=300)

Template není určený pro lokální vývoj canvas app. Používá se jen pro přidání prázdné canvas app do solution.
#90

Scaffolds a canvas-app component into a Dataverse solution:
- <prefix>_<logicalname>_<suffix>.meta.xml + paired BackgroundImageUri
  (PNG) + DocumentUri (.msapp) + AdditionalUris0_identity.json.
- LogicalName is derived from --DisplayName (lowercase, alphanumerics
  only); NumericSuffix is auto-generated (5-digit random).
- All canvas-app GUIDs are regenerated per scaffold: App / Test / Host
  / Screen1 (template-engine guid generators) and Properties.json
  Id/FileID inside the .msapp (post-action via System.IO.Compression).
- Publisher prefix is read from Other/Solution.xml via
  Get-CustomizationPrefix.ps1 + ReplacePlaceholder.ps1, no user param.
- Post-action appends <RootComponent type="300"> to Solution.xml.
@TomProkop

Copy link
Copy Markdown
Member

Does it relate to the Power Apps Code App project scaffolding?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants