November Happy Hour will be moved to Thursday December 5th.

Item from Guid

H F
H F
Vote:
 

Hello,

quick question.. 

is there any feature inside the admin panel that allows me to get the item/element of the episerver from guid? 

if not, how can i get that element by code?

thank you!

#180828
Jul 27, 2017 22:49
Vote:
 

very bad code :)

ServiceLocator.Current.GetInstance<IContentLoader>().Get({guid});
#180856
Jul 30, 2017 22:21
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.