9

We are currently using Sitecore PaaS implementation for Sitecore 9 Update 1 and would like to know if it is possible to create a Web Deploy Package for other Sitecore Modules like Data Exchange Framework. Is there a better approach on doing this as the latest DEF have several modules in it.

I have found this blogpost in which I will try and just like to get some thoughts. Thanks in advance.

2 Answers 2

8

I was able to solve this. Navigate to your Sitecore Azure Toolkit path in Powershell and run the following after unblocking all the files.

  • Import-Module .\tools\Sitecore.Cloud.Cmdlets.psm1
  • Import-Module .\tools\Sitecore.Cloud.Cmdlets.dll

enter image description here

And now we can use the commands to create the WDP for the Sitecore Module like Data Exchange Framework by running this command.

ConvertTo-SCModuleWebDeployPackage -Path "C:\Sc DEF Packages for Sc9U1\Data Exchange Framework 2.0.1 rev. 180108.zip" -Destination "C:\WDP"

After the script run you can inspect the scwdp.zip file generated and check if it already contains the dacpac and the other contents of the module. enter image description here

Everything is now set and create your azuredeploy.json for this package and update your azuredeploy.parameters.json to add this in the modules node item.

1
  • 1
    Do you have an example on installing this newly created scwdp? Sep 16, 2019 at 16:01
0

One more important point (inputs from @Mohammad Abujaffal), if we unblock the DLL then only you can import the DLL's.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.