8

I was able to supply the view layer with EditFrame HTML by adding the opening and closing HTML markup into my MVC Model. HTMLHelper Step 1: Obtain access to HtmlHelper using your current context Controller and a "Fake View". public static HtmlHelper GetHtmlHelper(this Controller controller) { StringBuilder sb = new StringBuilder(); ...


1

Serge van den Oever's team has built a JSS/React/TypeScript starter as part of their "JSS Umbrella" open source project. Check it out - https://github.com/macaw-interactive/react-jss-typescript-starter


1

If your DataSource item is just a folder item and if you would like to retrieve the child items available under the datasource folder then you may also use the GraphQL. Query will be something like below. query RetrieveContentBlocks($itemPath: String = "/sitecore/content/poc-app/Content Blocks") { rootItem: item(path: $itemPath) { children { ...


1

The JSS styleguide includes the Link example that outlines various uses of the Link component in React. In short, your JSS component is passed props.fields that gives you access to any link fields that you've defined on your datasource template: import { Link } from '@sitecore-jss/sitecore-jss-react'; const UsageLink = (props) => ( <Link field={...


Only top voted, non community-wiki answers of a minimum length are eligible