Hot answers tagged

6 votes
Accepted

How to set link field href attribute to "#"

Use Insert JavaScript option Specify Link description only (in your case 'Anchor Text') Example Field raw value <link text="Anchor Text" linktype="javascript" url="" ...
4 votes
Accepted

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

I'll say this Users don't create fields, developers create fields Issuing a Field.ReadAll is absolutely terrible for performance. Make sure you only do this in a script, never ever in runtime code. ...
  • 24.5k
3 votes

Help text not visible

While not immediately intuitive, this is by design. The help text follows the client language, not the item language. So if your user has his or her content editing language settings set to "...
  • 24.5k
2 votes
Accepted

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

No, this is not possible that two items based on the same template will not have the same fields. If you need this kind of items then you need to create two separate templates that can use a single ...
2 votes

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

I don't think you can skip reading all the fields that are part of the Standard Template, but you could filter them out. Example: The following will get all fields on the Standard Template and remove ...
  • 16.8k
2 votes

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

This issue looks bug to me, I suggest you create a support ticket to confirm this. Alternatively, you can update the ItemBucket.utils.js file located - sitecore\shell\Applications\Buckets\scripts on ...
2 votes

Event responsible for move field type from Shared to Versioned

It is a known Sitecore issue. (There is a description of packages, but the Unicorn issue has the same origin.) Sitecore does the movement of data from one table to another when you change field ...
  • 3,466
1 vote
Accepted

Adding custom data source to multilist with search field not working

The article you are following is working with the Multilist field, not with the Multilist with Search. I have checked this using this class. namespace TEST.Foundation.Common.CustomSitecore { ...
  • 2,260
1 vote

Field validation not working in Rendering Parameter Template for MVC form

I think you need to use a different approach to do this. I have verified this by creating the same scenario according to your question. You need to go under Validation Rules using the path /sitecore/...
  • 2,260
1 vote
Accepted

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

I created a support ticket on Sitecore for this issue. And got a response that they are able to reproduce the similar behavior locally, this behavior has been registered as a bug in their tracking ...
  • 2,260
1 vote

How to get Sitecore Updated Field only?

Sitecore doesn't give any option OOTB on field level. Sitecore manages the Revision field for each item that has any update, Sitecore's smart publish is based on this field. You need to compare this ...
1 vote

How to get Sitecore Updated Field only?

Assuming that there is new version created when items are being edited, you can take the latest version and previous version and compare each field. Item originalItem = newItem.Database.GetItem(...
  • 20.6k
1 vote

How to remove the image attributes of a rendered image field

You can edit your query string by these ways -The hash in the query string comes from Sitecore and can be triggered with the setting "Media.RequestProtection.Enabled" (originally set in ...

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