glass-mapper Questions
2
Solved
I've been banging my head against this all day and I've run out of ideas. Basically because glass.mapper doesn't appear to support branch templates I'm creating a sitecore item using the standard D...
Inandin asked 2/11, 2015 at 14:31
2
Solved
Hi i'm currently learning sitecore 7 with MVC4 and glassmapper and I'm having some issues with the general linkfield. I can't seem to ouput the external links (not links to items) correctly from a ...
Octahedron asked 6/1, 2014 at 13:28
1
Consider the template:
Company
Logo (Image field)
Company Name (Text field)
The Company template has standard values set on both fields. If we get a Company item and save it using Glass withou...
Rosenthal asked 15/6, 2016 at 17:20
3
Solved
I have the following link:
<a class="btn btn-primary" href="#">View details »</a>
How can I render the link with sitecore glass that it still keeps the css class? With the field rend...
Helbona asked 25/10, 2013 at 11:0
2
Solved
I create a Sitecore item through the Glass.Mapper like this:
var homeItem = sitecoreContext.GetHomeItem<HomeItem>();
// Create the car item
ICar car = sitecoreService.Create(homeItem.BooksF...
Krilov asked 31/10, 2014 at 11:52
1
Solved
The Glass.Mapper documentation states:
using Glass.Mapper.Sc.Configuration.Attributes;
namespace Glass.Mapper.Sites.Sc.Models.Landing
{
public class HomePage
{
public virtual string Title { g...
Antepenult asked 13/10, 2015 at 14:23
1
Solved
I understand that the Glass Mapper v4 can now be used in conjunction with any IoC container. But I'm struggling to find a code example of how to achieve this.
I want to be able register glass com...
Ninos asked 14/8, 2015 at 11:58
2
Solved
We just updated our project to use Glass.Mapper V3. We LOVE it. But we've encountered an issue. It doesn't seem to respect language fallback.
We have our site set up so that if a user picks a non...
Irishirishism asked 30/10, 2013 at 19:48
2
Solved
I'm trying to render a image field with RenderImage. I need some data- attributes in the image but I can't seem to figure out how to go about implementing that. I've tried this but doesn't work
@R...
Strepitous asked 20/10, 2014 at 17:31
3
Solved
I am using Sitecore Glass Mapper for a new project I'm setting up.
We are using Sitecore 7.2, latest version of Team Development for Sitecore (TDS) code generation and the latest version of glass.
...
Modern asked 24/4, 2014 at 9:25
1
Solved
I have a working installation of Sitecore 7 + Glass Mapper 3 which I am looking to optimize.
An example of my code is:
[SitecoreQuery(".//*[@@templateid = '{011EC776-D9F3-4D73-8D8D-E454417E7574}'...
Bursa asked 24/1, 2014 at 11:13
1
Solved
I have installed the package Glass.Mapper.Sc.CastleWindsor in version 3.1.2.11 on my Sitecore 7.1 solution and am trying to work with inferred types. I have the following classes:
[SitecoreType]
p...
Parsaye asked 6/1, 2014 at 9:31
2
Solved
We're new to Glass mapper and wanted to use it in our Sitecore project. When looking at the tutorials we noticed there were no deep examples of how to set up the deep inheritance that Sitecore allo...
Isoagglutination asked 3/4, 2013 at 9:39
1
Solved
I am using Glass library as ORM for Sitecore. I have a field Images which contains the list of images.
Since I want to access this from my .NET code, I have written a partial class which has the fi...
Welcome asked 25/12, 2012 at 11:58
1
© 2022 - 2024 — McMap. All rights reserved.