Closed KshitizGIT closed 5 months ago
Which version you are using?
Do you mean Orchard version ?
Yep
I used the ocms templates. So version is 1.0.0-rc2-13450
I see, just last question are all the recipes reproduce the same issue or some of them?
I didn't understand what do you mean by all the recipes. Do you mean the steps ? All Query steps , Content Type Definition, Templates are successful. I think the issues is in the executing the step "content".
This is the "content" node.
{
"name": "content",
"Data": [
{
"ContentItemId": "[js: variables('menuContentItemId')]",
"ContentType": "Menu",
"DisplayText": "Main Menu",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"TitlePart": {
"Title": "Main Menu"
},
"AliasPart": {
"Alias": "main-menu"
},
"MenuPart": {},
"MenuItemsListPart": {
"MenuItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentItemVersionId": null,
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Home",
"Url": "~/#home-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "About",
"Url": "~/#about-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Resume",
"Url": "~/#resume-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Services",
"Url": "~/#services-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Projects",
"Url": "~/#projects-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Blogs",
"Url": "~/#blog-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Contact",
"Url": "~/#contact-section"
}
}
]
},
"@WeldedPartSettings": {
"MenuPart": {
"Position": "3"
},
"MenuItemsListPart": {
"Position": "4"
}
}
},
{
"ContentItemId": "[js: variables('blogContentItemId')]",
"ContentType": "Blog",
"DisplayText": "Blog",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"TitlePart": {
"Title": "Blog"
},
"AutoroutePart": {
"Path": "blog",
"SetHomepage": false,
"Disabled": false,
"RouteContainedItems": false,
"Absolute": false
},
"Blog": {
"Image": {
"Paths": []
}
},
"HtmlBodyPart": {
"Html": ""
},
"ListPart": {
"FeedProxyUrl": null,
"FeedItemsCount": 3
},
"AliasPart": {
"Alias": "blogs"
}
},
{
"ContentItemId": "[js: variables('categoriesContentItemId')]",
"ContentType": "Taxonomy",
"DisplayText": "Categories",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"TitlePart": {
"Title": "Categories"
},
"AliasPart": {
"Alias": "categories"
},
"AutoroutePart": {
"Path": "categories",
"SetHomepage": false,
"Disabled": false,
"RouteContainedItems": false,
"Absolute": false
},
"TaxonomyPart": {
"Terms": [
{
"ContentItemId": "[js: variables('categoryTravelContentItemId')]",
"ContentType": "Category",
"DisplayText": "Travel",
"Latest": false,
"Published": false,
"ModifiedUtc": "2020-07-08T12:46:22.0308062Z",
"PublishedUtc": null,
"CreatedUtc": null,
"Owner": null,
"Author": "admin",
"Category": {
"Icon": {
"Text": "fas fa-globe-americas"
}
},
"TitlePart": {
"Title": "Travel"
},
"AutoroutePart": {
"Path": "travel",
"SetHomepage": false,
"Disabled": false,
"RouteContainedItems": false,
"Absolute": false
},
"TermPart": {
"TaxonomyContentItemId": "[js: variables('categoriesContentItemId')]"
},
"@WeldedPartSettings": {
"TermPart": {}
}
}
],
"TermContentType": "Category"
}
},
{
"ContentItemId": "[js: variables('menuContentItemId')]",
"ContentType": "Menu",
"DisplayText": "Main Menu",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"TitlePart": {
"Title": "Main Menu"
},
"AliasPart": {
"Alias": "main-menu"
},
"MenuPart": {},
"MenuItemsListPart": {
"MenuItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentItemVersionId": null,
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Home",
"Url": "~/#home-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "About",
"Url": "~/#about-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Resume",
"Url": "~/#resume-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Services",
"Url": "~/#services-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Projects",
"Url": "~/#projects-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Blogs",
"Url": "~/#blog-section"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LinkMenuItem",
"LinkMenuItemPart": {
"Name": "Contact",
"Url": "~/#contact-section"
}
}
]
},
"@WeldedPartSettings": {
"MenuPart": {
"Position": "3"
},
"MenuItemsListPart": {
"Position": "4"
}
}
},
{
"ContentItemId": "[js: variables('landingContentItemId')",
"ContentType": "LandingPage",
"DisplayText": "Landing Page",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"LandingPage": {
"Owner": {
"Text": "Ronaldo Fredrickson"
}
},
"AutoroutePart": {
"Path": "home",
"SetHomepage": true,
"Disabled": false,
"RouteContainedItems": false,
"Absolute": false
},
"TitlePart": {
"Title": "Landing Page"
},
"Services": {
"ContentItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Service",
"DisplayText": "Web Design",
"Service": {
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia."
},
"Icon": {
"Text": "flaticon-analysis"
}
},
"TitlePart": {
"Title": "Web Design"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Service",
"DisplayText": "Photography",
"Service": {
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia."
},
"Icon": {
"Text": "flaticon-flasks"
}
},
"TitlePart": {
"Title": "Photography"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Service",
"DisplayText": "Web Developer",
"Service": {
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia."
},
"Icon": {
"Text": "flaticon-ideas"
}
},
"TitlePart": {
"Title": "Web Developer"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Service",
"DisplayText": "App Developing",
"Service": {
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia."
},
"Icon": {
"Text": "flaticon-innovation"
}
},
"TitlePart": {
"Title": "App Developing"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Service",
"DisplayText": "Branding",
"Service": {
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia."
},
"Icon": {
"Text": "flaticon-ux-design"
}
},
"TitlePart": {
"Title": "Branding"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Service",
"DisplayText": "Product Strategy",
"Service": {
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia."
},
"Icon": {
"Text": "flaticon-idea"
}
},
"TitlePart": {
"Title": "Product Strategy"
}
}
]
},
"About": {
"DOB": {
"Value": "1989-11-28T00:00:00Z"
},
"Zipcode": {
"Text": "1000"
},
"Address": {
"Text": "San Francisco CA 97987 USA"
},
"Email": {
"Text": "ronaldo@gmail.com"
},
"Phone": {
"Text": "+1-2234-5678-9-0"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia."
},
"PortfolioImage": {
"Paths": [
"about.jpg"
]
},
"Website": {
"Text": "info@example.com"
}
},
"Resume": {
"ContentItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Education",
"DisplayText": null,
"BagPart": {
"ContentItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Bachelor of Science in Computer Science"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Computer Processing Systems/Computer Software"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-09-10T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Diploma in Computer"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Art & Creative Director"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
}
]
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Experience",
"Experience": {},
"BagPart": {
"ContentItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Software Developer"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Web Designer"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Web Marketing"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-02T00:00:00Z"
},
"Title": {
"Text": "Art & Creative Director"
},
"Authority": {
"Text": "Side Tech"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2015-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2016-01-01T00:00:00Z"
},
"Title": {
"Text": "Wordpress Developer"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2015-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2016-01-01T00:00:00Z"
},
"Title": {
"Text": "UI/UX Designer"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
}
]
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Awards",
"Awards": {},
"BagPart": {
"ContentItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Top 10 Web Developer"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Top 5 LeaderShip Exellence Winner"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Top 4 Web Tester"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Milestone",
"Milestone": {
"StartDate": {
"Value": "2014-01-01T00:00:00Z"
},
"EndDate": {
"Value": "2015-01-01T00:00:00Z"
},
"Title": {
"Text": "Art & Creative Director"
},
"Authority": {
"Text": "Cambridge University"
},
"Description": {
"Text": "A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth."
}
}
}
]
}
}
]
},
"Projects": {
"ContentItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Project",
"DisplayText": "Brading & Illustration Design",
"Project": {
"Subtitle": {
"Text": "Web Design"
},
"Banner": {
"Paths": [
"work-1.jpg"
]
}
},
"TitlePart": {
"Title": "Brading & Illustration Design"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Project",
"DisplayText": "Brading & Illustration Design",
"Project": {
"Subtitle": {
"Text": "Web Design"
},
"Banner": {
"Paths": [
"work-2.jpg"
]
}
},
"TitlePart": {
"Title": "Brading & Illustration Design"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Project",
"DisplayText": "Brading & Illustration Design",
"Project": {
"Subtitle": {
"Text": "Web Design"
},
"Banner": {
"Paths": [
"work-3.jpg"
]
}
},
"TitlePart": {
"Title": "Brading & Illustration Design"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Project",
"DisplayText": "Brading & Illustration Design",
"Project": {
"Subtitle": {
"Text": "Web Design"
},
"Banner": {
"Paths": [
"work-4.jpg"
]
}
},
"TitlePart": {
"Title": "Brading & Illustration Design"
}
},
{
"ContentItemId": "[js:uuid()]j",
"ContentType": "Project",
"DisplayText": "Brading & Illustration Design",
"Project": {
"Subtitle": {
"Text": "Web Design"
},
"Banner": {
"Paths": [
"work-5.jpg"
]
}
},
"TitlePart": {
"Title": "Brading & Illustration Design"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Project",
"DisplayText": "Brading & Illustration Design",
"Project": {
"Subtitle": {
"Text": "Web Design"
},
"Banner": {
"Paths": [
"work-6.jpg"
]
}
},
"TitlePart": {
"Title": "Brading & Illustration Design"
}
}
]
},
"ListPart": {
"FeedProxyUrl": null,
"FeedItemsCount": 5
},
"Blogs": {
"ContentItems": [
{
"ContentItemId": "[js:uuid()]",
"ContentType": "Blog",
"DisplayText": "Blogging",
"TitlePart": {
"Title": "Blogging"
},
"AutoroutePart": {
"Path": "blogging",
"SetHomepage": false,
"Disabled": false,
"RouteContainedItems": false,
"Absolute": false
},
"Blog": {
"Image": {
"Paths": []
}
},
"HtmlBodyPart": {
"Html": ""
},
"ListPart": {
"FeedProxyUrl": null,
"FeedItemsCount": 6
}
}
]
},
"AliasPart": {
"Alias": "default"
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LiquidWidget",
"DisplayText": "CategoryWidget",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"LiquidPart": {
"Liquid": "[file:text('Snippets/categorywidget.liquid')]"
},
"LayerMetadata": {
"Position": 1.0,
"Zone": "SideNav",
"Layer": "Always",
"RenderTitle": false
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LiquidWidget",
"DisplayText": "Footer",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"LiquidPart": {
"Liquid": "[file:text('Snippets/footer.liquid')]"
},
"LayerMetadata": {
"Position": 1.0,
"Zone": "Footer",
"Layer": "Always",
"RenderTitle": false
}
},
{
"ContentItemId": "[js:uuid()]",
"ContentType": "LiquidWidget",
"DisplayText": "RecentBlogWidget",
"Latest": true,
"Published": true,
"Owner": "[js: parameters('AdminUsername')]",
"Author": "[js: parameters('AdminUsername')]",
"LiquidPart": {
"Liquid": "[file:text('Snippets/recentblogwidget.liquid')]"
},
"LayerMetadata": {
"Position": 2.0,
"Zone": "SideNav",
"Layer": "Always",
"RenderTitle": false
}
}
]
}
The issue was because of the missing closing large bracket in ']' in my recipe.json file
"ContentItemId": "[js: variables('landingContentItemId')"
However, I think the behaviour should be consistent for Sqlite and other RDMS alike
I didn't understand what do you mean by all the recipes.
I mean the built-in recipes
The issue was because of the missing closing large bracket in ']' in my recipe.json file
Strange!!
Hi,
I created a custom recipe. It runs perfectly when running on Sqlite Database. But doesn't create contents while running on MySql and MSSQL. I have not yet tested for POSTGRES.
Could you instruct in understanding why this is the case ?