I am trying out the sitecore speak ui applications. I am able to develop simple applications using speak.
I don't find any reference to how can we build SPEAK Pagecode file using C#.
I want to retrieve the data and save simple form using C# pagecode file.
Can any one guide me with an example?
I looked into https://doc.sitecore.net/speak/development/use_pagecode . But its of no help. I would like to know how can we bind the c# file to the SPEAK application and how to invoke functions.
To use the page code you need to edit the presentation of your page item. In Sitecore Rocks, go to the presentation details of your page item and double-click on the PageCode component to open the properties. There are 2 fields, PageCodeScriptFileName
- that is for a JavaScript based page code, and PageCodeTypeName
, in there add your fully qualified name of your C# class.
Credits to this post by Martina enter link description here