There Are Two Type of Linked Snipped Code One is To include Element Data Like Include Topic Detail For example Topic Contact The Second is For include Page Code but this Type is only for Store and product Theme Creator Because that we will Describe More Details About it in Store theme Section .The first Type Is using The InvokeAsaync Keyword of Component ELement@await Component.InvokeAsync("");
This Keyword Have Two Types:First:Load element Data or widget zoom content this have two parameters:
1.
Page Name Parameter like widget,TopicBlock and type of it is string Type.
2.
data Parmeter of the element forexample
This Linked keyword Using Topic Element By typing the "TopicBlock" string in first parameter.the second is Data with new kewword to display topic with systemname="HomepageText".The System Name "HomepageText" is keyword used in Emole Store To display topic in Top of Home Page Foxexample Display Banner or Text or Contact detail or message ...and So on.
Second Type:Load Alleardy Pages without Data Parameter Because Emole Has many Exits pages That display many element forexample "HomepageProducts" to display list of Home page Products and "HomepageCategory" to display list of home page categories...so on.
@await Component.InvokeAsync("HomepageCategories")
as you see like this We Called Linked Snipped Code .Some Pages You can display it without Data paramter and some pages you must use data paramter .
Some pages display List of elements as tabel or slider Like HomepageCategories,Homepageproducts,HomepageBestSellers and so on, and some page display data details.and some pages display another data like checkout progress or shopping card and so on.
with Components That Display list of elements you can filter it by using Data paramter by using element fields,with with pages that display single page like topicblock you can use element field like SystemName Because Most of elements have Systemname Field like topic and also customers rules or other fields like name...and so on.
You must know The snipped Code is Debend on Components Tree The Snipped Code First Search About Components in Current Theme Store Components Folder If there no Component Match the Snipped Code Component in Current Theme Then The Snipped Code Search in The Parent Components Folder in Emole System if also Then The Snipped Code Not Work And Display Error.
Using Wrong Component name will not diplay anything and Display Page name that display single page without data prameter maybe not displaying Any data or display all data like single data.
The Second Type Of Linked Sinpped Code Is Called PartialAsync keyword and this is for Display page Code like Form Code in page or inlucde another page inside it and this we will Discusses it in Store Theme Section.