Friday 27 August 2021

Sitecore dropdown fieldtype validation

In this article, we will try to achieve droplink's field validation. So to before start there is a concept that sitecore droplink actually store item's ID.

And to achieve this we have to apply validation on dropdown fields, just apply regex there as ^.{38}$. 



Please see below screenshot



Hope this will help.



Tuesday 24 August 2021

git pull error: cannot stat Filename too long

In this article, we are going to discuss about an issue related to GIT
that while trying to take latest from one of the branch. And after pull command facing issue as 

git pull error: cannot stat Filename too long

Also noticed that other teammates have not this issue.

After spending some time on this issue found the fix, so thought to share with community.

Fix:

just open GIT Command prompt

first I tried git pull but the same issue because of Windows API limitation of file paths having 260 characters or fewer.

To fix this issue ran below command

git config --system core.longpaths true

after this trigger git pull and it works.


Hope this will help