sana hot fix and patch

   update [dbo].[SanaReleasePackages] set Version = '1.45.9.1' , name = 'Sana Commerce Cloud 1.45.9.1' , VersionType =3 ,ReleasePackageType ='2' where id = '760'



  update [dbo].[SanaReleasePackages] 

   set Version = '1.47.48.0' ,

   name = 'Sana Commerce Cloud 1.47.48.0' ,

  --VersionType =3 ,

  ReleasePackageType ='2' --SDK 1 False ,2 True

   where id = '800'

Install Cypress / cypress-xpath

 create a folder :-  cypressautomation

gp to folder and open CMD by typing nav bar 

npm init

cypressautomation


npm install cypress --save-dev

install cypress 


npm install cypress --save-dev






npx cypress open

node_modules\.bin\cypress open


~~cypress-xpath instaion~~

npm install -D cypress-xpath

1 show under package.json



Add on support/e2e.js folder  

require('cypress-xpath');





if the version change to 12.0.1

to update the version use the cmd prompt or restart the PC 

https://www.npmjs.com/package/cypress


npm install --save-dev cypress












Web jobs on azure

 https://portal.azure.com/#home

app settings >  staging-sanaplatform 

worker-staging-sanaplatform (Latest)

search webjob



search by Ctr+F : web job name want to search  >  Logs > 



once  click > move to recent web jobs 

Rewrite rules

 


normally when creating the web store user creates with dummy name, but when we want to go live it is not nice to show that dummy name 

then create a nice webstore with name and.



after apply, 

need to check with lense 

Network > ingress 



Permanent redirect 



Sana Commerce insight,App settings ,Piwik, Create sheard Access signature,Replicate installation, custom header

 

Sana Commerce insight

Add data > Save >

 schedule > after schedule check Lens > 

compare early and after values are correct. 


App settings 

check with App settings section

check with Environment variables 

check with lense


Piwik

enable piwik tracking settings from general settings.

https://piwik.pro/login/   > sana-commerce

stagingplatform.piwikadmin@sana-commerce.com

sanAb11ud@3697

Menu (left side) > Administration








Create sheard Access signature 

Trouble shoot > ... > copy

goto M storage Explore > Click Plug >  blob container 

select Shared access signature URL (SAS)

past the copied url


show the details within time.



Create temp db user

application insight 3.15




request view history

it will check : Webstore downtime, performance 


General > Change Sana Sub



Replicate installation

it will create a copy of webstore 



it will create another copy,

it will copy only 

contents and add-ons only.
contents DB
check azure storage explore 
images will save on Content



addons will save on packages.


Uptime



Custom Header 

























Setup Site for testing webstore ERP config

  



copy data from working erp 

connect type: Microsoft Dynamics 365 Business Central

Web URL :
http://staging-navision.sana-test-cloud.net:10007/BC17_W1_SC10000/WS/scc3tjswkfu0zz/Codeunit/SC_NAV_WebService?tenant=ws56955scc3tjswkfu0zz

Basic
U domain : ws56955scc3tjswkfu0zz
User : SANAADMIN
pw: User1234





start all scheduled tasks 




new Category import location

Setup > Navigation > Main > Items > Configure categories from ERP





add addons, lanuages
add images ttols > file manager > upload images 
Add shop account



setup Home page

-----------------------

Delete Protection ON

it will hide the delete button 


2.



connect type: Microsoft Dynamics 365 Business Central

Web URL :
http://23.97.236.40:6003/SANA_TRIAL/WS/sccoxvvcul0ib3/Codeunit/SC_NAV_WebService?tenant=ws63144sccoxvvcul0ib3

Basic
U domain : ws63144sccoxvvcul0ib3
User : SANAADMIN
pw: User1234




How to map Partner and

 

When some users () cant view some webstores when partners are different.

we need to add manually 

eg: Account user Isuru  has Platform admin permissions, but the partner is "ABC Partner 2"

wants to view 



5.39