Thursday, 1 September 2022

Sitecore order cloud certification strategy and planning

Last week I just completed my Sitecore order cloud Certification. 




Objective of this article is about to share learning order cloud and information, pre-planning and strategy for Sitecore order cloud Certification Exam.

Preparation I personally did not felt difficulty regarding content, topics and practice platform to learn Sitecore order cloud or for exam material.

I just went though Sitecore Order Cloud e-learning course and Order Cloud Portal and that's enough for both learning and exam.

For me it took approx. 3 days to learn and practice with API. 

Topics 

  • I would suggest to first understand order cloud terminologies
  • About Sandbox Base API URL, Region and other properties.
  • About User Context: Shared, API Client
  • About Buyer organization and Buyer mapping with API practice
  • About Buyer, Seller, Supplier and order Flow
  • About Product and Price schedule mapping with API practice
  • About B2B and B2C scenario from e-learning Portal
  • Data flow on Sandbox during development
  • Get User list, Buyers list and Product List using API.
  • Add/Remove/Update products from Catalog or categories or from User group.
  • Workflow: Password, Client, Refresh and Elevated with example from API call.
  • Refresh workflow benefits and example.
  • Marketplace scenario, how can work with Parallel marketplace.
  • Reseller scenario and flow.
  • In which scenarios, Product not used to visible.
  • How actually webbook works. example and scenarios.
Strategy
  • Few questions will be scenarios based - like discount calculations or products on live Site - that I felt after course completion and with practice easily answerable.
  • Noticed not many multi-choice questions - so less complex as compare to previous exam.
  • Questions are very related and if practiced or worked - easily can answer.
  • All content, official documentations and API details, possible API parameters - properly mentioned and shared.

I would highly recommend to at-least learn order cloud, if not planning for Certification or Exam. Best to have.

Good luck for yours...

Wednesday, 3 August 2022

How to remove a rendering from page list using Sitecore PowerShell script ?

 There might be scenario, where 

  • remove a rendering from list of pages/Tree
  • remove broken rendering from Tree

Above we can achieve using Sitecore PowerShell script

$pageTemplateId = "{4A990Q43-71FD-4DAC-8865-5ABAAA13R911}"
$startPath = "master:/sitecore/content/YourSiteNode/Home/"
$useFinalLayout = $True
$useSharedLayout = $True
$rootItem = Get-ChildItem -Path $startPath -recurse | Where-Object { $_."TemplateID" -eq $pageTemplateId };
if($rootItem -ne $null) {
foreach($item in $rootItem) {
$renderings =  Get-Rendering -Item $item -Placeholder "/header/primary-menu" -Device (Get-LayoutDevice "Default") -FinalLayout:$useFinalLayout
foreach($rendering in $renderings) {
    $renderingItem = Get-Item -Path $rendering.ItemID
if($renderingItem.Name -eq "YourRenderingName") {
    Remove-Rendering -Item $item -Instance $rendering -Device (Get-LayoutDevice "Default") -FinalLayout:$useFinalLayout
    Write-Host $item.Name
}
}
}
}