
Hi all,
is there a way to get meta data from an url (i.e. field website from account) using java script and write it into another field (i.e. field keywords?
Useful meta data would be:
<meta name="keywords" content="keyword1 keyword2 keyword3 ..." />
Thanks in advance :-)!
*This post is locked for comments
I have the same question (0)...this one should do the trick:
$.get('field website', function(data) {
$(data).filter('meta[name=keywords]').attr("content");
});
any suggestions on how to implement :-)?
Maybe like this?
var url = Xrm.Page.getAttribute("websiteurl");
Xrm.Page.getAttribute("keywords").setValue(
$.get(url, function(data) {
$(data).filter('meta[name=keywords]').attr("content");
});
);