GithubHelp home page GithubHelp logo

coreyasmith / sxa-media-and-layout-not-found Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 1.0 136 KB

๐Ÿ™ˆ Code for my blog post on handling media and layout not found in @Sitecore Experience Accelerator.

Home Page: https://www.coreysmith.co/sxa-media-and-layout-not-found/

License: MIT License

C# 100.00%
sitecore sxa

sxa-media-and-layout-not-found's Introduction

SXA Handle Media and Layout Not Found

This is a sample repository to demonstrate how to handle media and layout not found in Sitecore Experience Accelerator.

Setup

Clone this repository. The rest of the setup assumes you cloned to C:\Projects\Sitecore\SxaNotFound.

Connected Mode

  1. Install an instance of Sitecore 9.0 Update-2.
    • The default install path is C:\inetpub\wwwroot\sxanotfound.localhost.
    • The default URL is sxanotfound.localhost.
  2. Install Sitecore PowerShell Extensions 4.7.2 or above.
  3. Install Sitecore Experience Accelerator 1.7 Update-1.
  4. If you used a clone path, install directory, or URL different than the defaults above, open SxaNotFound.sln and modify the following files in the .config folder:
    • CoreySmith.Project.Common.Dev.config
      • Change sourceFolder to your repository directory.
    • PublishSettings.targets
      • Change publishUrl to the path of your Sitecore instance.
  5. Build the solution in Visual Studio.
    • This will publish all code to your instance thanks to Helix Publishing Pipeline.
    • Note: you may need to reload the solution and build a second time if you get errors about missing assemblies/references when you load Sitecore.
  6. Perform a Unicorn sync at /unicorn.aspx?verb=sync.
  7. Run the Unicorn sync again.
  8. Login to Sitecore and do a full site publish.
  9. Navigate to your site at http://hostname.localhost.

sxa-media-and-layout-not-found's People

Contributors

coreyasmith avatar

Stargazers

 avatar

Forkers

ck-k1vv9

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.