How to set field data from Page Type into cookie?

Martin Shin asked on August 25, 2015 14:09

Is it possible? Any ideas?

Thanks, Martin

Recent Answers


Suneel Jhangiani answered on August 25, 2015 16:00

Look at the CookieHelper class in particular the GetValue & SetValue members.

1 votesVote for this answer Mark as a Correct answer

Martin Shin answered on August 26, 2015 07:25

Suneel, thank you for the answer. But is it possible get data from fields with K# in macros?

Martin

0 votesVote for this answer Mark as a Correct answer

Roman Hutnyk answered on August 26, 2015 18:01

Martin, Yes, this is possible to get data from page type field with macro.

You might also try SetCookies web part in case you don't want to deal with code behind.

0 votesVote for this answer Mark as a Correct answer

Martin Shin answered on August 27, 2015 18:36

Roman, I try to use SetCookies Webpart. But I can't understand, how I can get data from Page Type fields. Can you share some examples?

Thank, Martin

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.