Questions tagged [field]

All questions related to any field type in Sitecore context can use this tag

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

General Link with Search field is adding language code along with ID in the Item Link

We are using the General Link with Search field to filter and select the items in Sitecore 10.1. Now when I click Search for a link on the field and then search for the items of a particular template, ...
user avatar
  • 1,011
0 votes
2 answers
34 views

How to get Sitecore Updated Field only?

I want to send only updated fields for Translation. How can I know which fields have been updated on an item?
user avatar
1 vote
2 answers
103 views

How to specify a datasource for a droplist field in sitecore 8.0 template

I am using Sitecore 8.0 where I have created a template with field droplist field type and I want to give datasource for it where it references another template datasource. And we have Multiple Sites ...
user avatar
  • 181
0 votes
3 answers
140 views

How to remove the image attributes of a rendered image field

I'm rendering the image like : @Html.Sitecore().Field(Model.ImageId, Model.InnerItem) which is rendering the image like this: <img src="/-/media/finance.png?h=400&amp;iar=0&amp;w=592&...
user avatar
  • 2,573
1 vote
1 answer
113 views

Event responsible for move field type from Shared to Versioned

When I use Unicorn to deserialize field from Shared to Versioned, data about field isn't removed from dbo.SharedFields table. I think this is due to disabling event that sitecore uses to move field ...
user avatar
0 votes
0 answers
78 views

Sitecore GeneralLink Field causing 403 Forbidden error

We are getting 403 Forbidden error while selecting general link field. This was working earlier and causing error now. We also tried Sitecore Services Client 403 Forbidden, but no luck. We have also ...
user avatar
0 votes
1 answer
238 views

Item from Database.GetItem gets NullReference exception in field HasClones and in FieldRenderer.Render in test

I am trying to set up a simple test project to initially assert that my local C# models correspond to my Sitecore templates. The Item retrieval is successful using Database.GetItem(itemPath) and I can ...
user avatar
  • 1
1 vote
1 answer
263 views

How to set link field href attribute to "#"

Using a general link field, I want to be able to author the field such that the final contents of an outputted link are: <a href="#">Anchor Text</> (notice the empty anchor "...
user avatar
0 votes
1 answer
107 views

Is it possible that two items based on the same template will not have the same fields?

I think ideally it is not possible but got confused when reading Sitecore's 9.3 learning module where this scenario is marked as true. I wanted to inform on this but before doing so thought of ...
user avatar
2 votes
1 answer
102 views

Help text not visible

I have added help text for a template field in the Short Description field, Japanese version. When the item is created in the Japanese version, the help text is not seen. Using Sitecore 9.2 Template ...
user avatar
  • 2,573
1 vote
2 answers
121 views

Set the field value always to "en" language version value when setting the field from versioned field to shared field

Setting an existing field "shared" from "versioned" on the template always sets the most recent language version value for that field in the items of that template type. Is there some way to always ...
user avatar
2 votes
2 answers
455 views

How to exclude Standard fields when reading an item's fields

When reading an item's fields like this: item.Fields.ReadAll(); It reads all the fields. Is there a way to exclude the default Sitecore fields and get only the fields that a user has created. For ...
user avatar
  • 2,573