Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FH-Inway committed Nov 17, 2024
1 parent 116b313 commit 7631e8c
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
21 changes: 21 additions & 0 deletions d365fo.tools/functions/publish-d365webresources.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
<#
.SYNOPSIS
Deploy web resources
.DESCRIPTION
Deploys the Dynamics 365 for Finance and Operations web resources to the AOS service web root path.
.PARAMETER PackageDirectory
Path to the package directory containing the web resources.
.PARAMETER AosServiceWebRootPath
Path to the AOS service web root path.
.EXAMPLE
PS C:\> Publish-D365WebResources
This will deploy the web resources to the AOS service web root path.
.NOTES
Author: Florian Hopfner (@FH-Inway)
#>
function Publish-D365WebResources {
[CmdletBinding()]
param (
Expand Down
27 changes: 27 additions & 0 deletions d365fo.tools/internal/functions/publish-d365foresources.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
<#
.SYNOPSIS
Publish resources
.DESCRIPTION
Publishes Dynamics 365 for Finance and Operations resources to the publishing directory.
.PARAMETER ResourceTypes
The types of resources to publish.
.PARAMETER PublishingDirectory
The directory to publish the resources to. Each resource type will be published to a subdirectory.
.PARAMETER PackageDirectory
The directory containing the resources.
.PARAMETER AosServiceWebRootPath
The path to the AOS service web root containing the metadata assemblies to access the resources.
.EXAMPLE
PS C:\> Publish-D365FOResources -ResourceTypes Images,Scripts,Styles,Html -PublishingDirectory C:\temp\resources
This will publish the resources of the types Images, Scripts, Styles, and Html to the directory C:\temp\resources.
.NOTES
Author: Florian Hopfner (@FH-Inway)
#>
function Publish-D365FOResources {
[CmdletBinding()]
param (
Expand Down

0 comments on commit 7631e8c

Please sign in to comment.