Hello All
we are trying to achieve automatic redirection using VIDM. For example . If any user agent type mobile should redirect to different URL i.e airwatch url & normal thick client should get ADFS page . Below code we added in onload java file .
if (navigator.userAgent.match(/iPad/i) != null){HRD.selection(‘vmwareidentity.com/SAAS/API/1.0/GET/metadata/idp.xml')}
else {HRD.selection('http://ADFS.COM/adfs/services/trust')};
code above work apart from windows m/c . I get error windows m/c script error stating “HRD undefined “ any suggestion and inputs ?