tag:blogger.com,1999:blog-7208889.post196691404102831036..comments2024-03-29T06:17:13.888+00:00Comments on New Style of CRM: CRM 4.0 : Check current user's security role using JavaScriptJim Wanghttp://www.blogger.com/profile/15963866631960791206noreply@blogger.comBlogger46125tag:blogger.com,1999:blog-7208889.post-32711357564102975122015-08-13T11:11:22.870+01:002015-08-13T11:11:22.870+01:00học kế toán thực hành cấp tốc
học kế toán thực hàn...<a href="http://ketoanlongbien.com/i477-lop-hoc-ke-toan-thuc-hanh.html" rel="nofollow">học kế toán thực hành cấp tốc</a><br /><a href="http://diachihocketoan.org/lop-hoc-ke-toan-tong-hop-cap-toc-tai-ha-noi.html" rel="nofollow">học kế toán thực hành cấp tốc</a><br /><a href="http://diachihocketoan.org/dia-chi-hoc-ke-toan-tong-hop-thuc-hanh-tai-cau-giay.html" rel="nofollow">học kế toán thực hành tại cầu giấy</a><br /><a href="http://diachihocketoan.org/dia-chi-hoc-ke-toan-thuc-hanh-tai-thanh-xuan.html" rel="nofollow">học kế toán thực hành tại thanh xuân</a><br /><a href="http://diachihocketoan.org/dia-chi-hoc-ke-toan-thuc-te-tai-ha-dong.htm" rel="nofollow">]học kế toán thực hành tại hà đông</a><br /><a href="http://diachihocketoan.org/dia-chi-hoc-ke-toan-thuc-hanh-tai-long-bien.html" rel="nofollow">học kế toán thực hành tại long biên</a><br /><a href="http://ketoanlongbien.com/i533-trung-tam-dao-tao-ke-toan-thuc-hanh-thuc-te-tai-long-bien.html" rel="nofollow">học kế toán thực hành tại long biên</a><br /><a href="http://ketoanlongbien.com/i539-trung-tam-dao-tao-ke-toan-thuc-hanh-thuc-te-tai-hai-phong.html" rel="nofollow">học kế toán thực hành tại hải phòng</a><br /><a href="http://ketoanlongbien.com/i540-trung-tam-dao-tao-ke-toan-thuc-hanh-thuc-te-tai-bac-ninh.html" rel="nofollow">học kế toán thực hành tại bắc ninh</a><br /><a href="http://ketoanlongbien.com/i541-trung-tam-dao-tao-ke-toan-thuc-hanh-thuc-te-tai-tp-hcm.html" rel="nofollow">học kế toán thực hành tại tphcm</a><br /><a href="http://ketoanlongbien.com/i547-trung-tam-dao-tao-ke-toan-tai-quan-3-tp-hcm.html" rel="nofollow">học kế toán thực hành tại quận 3</a><br /><a href="http://diachihocketoan.org/dia-chi-hoc-ke-toan-tong-hop-thuc-hanh-tai-hai-phong.html" rel="nofollow">học kế toán thực hành tại hải phòng</a><br /><a href="http://diachihocketoan.org/dia-chi-hoc-ke-toan-thuc-hanh-tai-bac-ninh.html" rel="nofollow">học kế toán thực hành tại bắc ninh</a><br /><a href="http://diachihocketoan.org/trung-tam-dao-tao-ke-toan-thuc-hanh-thuc-te-tai-binh-duong.html" rel="nofollow">học kế toán thực hành tại bình dương</a><br /><a href="http://diachihocketoan.org/lop-hoc-ke-toan-tong-hop-thuc-hanh-tai-tp-bien-hoa-dong-nai.html" rel="nofollow">học kế toán thực hành tại biên hòa</a><br /><a href="http://diachihocketoan.org/khoa-hoc-ke-toan-tong-hop-thuc-hanh-tai-vinh-nghe-an.html" rel="nofollow">học kế toán thực hành tại vinh</a><br /><a href="http://ketoanlongbien.com/i559-trung-tam-dao-tao-ke-toan-tai-vinh-nghe-an.html.html" rel="nofollow">học kế toán thực hành tại vinh</a><br /><a href="http://ketoanlongbien.com/i583-trung-tam-dao-tao-ke-toan-tai-hue.html" rel="nofollow">học kế toán thực hành tại huế</a><br /><a href="http://ketoanlongbien.com/i584-lop-hoc-ke-toan-tong-hop-tai-da-nang.html" rel="nofollow">học kế toán thực hành tại đà nẵng</a><br /><a href="http://ketoanlongbien.com/i582-trung-tam-dao-tao-ke-toan-tai-da-nang.html" rel="nofollow">học kế toán thực hành tại đà nẵng</a><br /><a href="http://diachihocketoan.org/trung-tam-dao-tao-ke-toan-tai-da-nang.html" rel="nofollow">học kế toán thực hành tại đà nẵng</a><br /><a href="http://diachihocketoan.org/trung-tam-dao-tao-ke-toan-tai-quang-trung-hai-duong.html" rel="nofollow">học kế toán thực hành tại hải dương</a><br /><a href="http://diachihocketoan.org/trung-tam-dao-tao-ke-toan-tai-hien-nam-hung-yen.html" rel="nofollow">học kế toán thực hành tại hưng yên</a><br /><a href="http://diachihocketoan.org/hoc-chung-chi-ke-toan.html" rel="nofollow">học chứng chỉ kế toán</a><br /><a href="http://ketoanlongbien.com/i453-hoc-ke-toan-o-dau-tot-nhat.html" rel="nofollow">học kế toán ở đâu tốt</a><br />Quân Đàohttps://www.blogger.com/profile/11091386334449403258noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-12802558795761330052014-04-30T21:33:08.066+01:002014-04-30T21:33:08.066+01:00Works great. Thank you.Works great. Thank you.Anonymoushttps://www.blogger.com/profile/05493577938236310602noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-74488065505242551742014-04-20T08:04:11.249+01:002014-04-20T08:04:11.249+01:00HI,
How can i use it for CRM 2011HI,<br />How can i use it for CRM 2011Anonymoushttps://www.blogger.com/profile/11817103866077225518noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-80662428673388899302014-04-20T08:03:25.544+01:002014-04-20T08:03:25.544+01:00Hi can i use for CRM2011Hi can i use for CRM2011Anonymoushttps://www.blogger.com/profile/11817103866077225518noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-30324588236565664972013-08-30T11:20:43.601+01:002013-08-30T11:20:43.601+01:00Hi,
Can use this script for hide/show tab by chec...Hi,<br /><br />Can use this script for hide/show tab by check security role. Such as<br />- System Administrator Show Tab<br />- Other role hide tab<br /><br />Please help and thanks in advancemyfootprinthttps://www.blogger.com/profile/08540867320922420626noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-77192951889415966842013-08-30T11:19:08.642+01:002013-08-30T11:19:08.642+01:00This comment has been removed by the author.myfootprinthttps://www.blogger.com/profile/08540867320922420626noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-62154732084716264012012-11-16T17:10:14.346+00:002012-11-16T17:10:14.346+00:00Hello, I am trying to do this on the orderprdouct ...Hello, I am trying to do this on the orderprdouct page. I want check all itmems in orderproduct page if a value is checked. If one of the values are checked update the order form by updated a picklist field to a specific value.Josehttps://www.blogger.com/profile/17391484551158464126noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-38585682681469455612012-11-16T17:10:08.937+00:002012-11-16T17:10:08.937+00:00Hello, I am trying to do this on the orderprdouct ...Hello, I am trying to do this on the orderprdouct page. I want check all itmems in orderproduct page if a value is checked. If one of the values are checked update the order form by updated a picklist field to a specific value.Josehttps://www.blogger.com/profile/17391484551158464126noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-48604539618242178102010-01-17T20:46:06.944+00:002010-01-17T20:46:06.944+00:00Great Code!!!!
you solved my problemGreat Code!!!!<br />you solved my problemHojabri, Omidhttps://www.blogger.com/profile/08202865823207187596noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-20101554542304207712009-09-11T00:04:00.015+01:002009-09-11T00:04:00.015+01:00Thank you very much for the code Jim. I was lookin...Thank you very much for the code Jim. I was looking for those exact two functions, so you saved me a lot of work. Much appreciated.<br /><br />PeteDigiOz Multimediahttps://www.blogger.com/profile/02516884039586828298noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-70525517577538560752009-07-16T08:45:03.237+01:002009-07-16T08:45:03.237+01:00here is the solution.
http://www.crowehorwath.co...here is the solution. <br /><br />http://www.crowehorwath.com/cs/blogs/crm/archive/2008/05/08/hide-show-fields-in-crm-4-0-based-on-security-role.aspxG.Alvarezhttps://www.blogger.com/profile/01512724222822674438noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-11629808030092555952009-07-15T14:57:42.973+01:002009-07-15T14:57:42.973+01:00At first, sorry my English is no very good.
The f...At first, sorry my English is no very good.<br /><br />The first method, no is good for me. For me only run this.!!<br /><br /><br />alert(UserHasRole("Administrador del sistema"));<br /><br /><br />function UserHasRole(roleName)<br />{<br /><br />var oXml = GetCurrentUserRoles();<br />alert(oXml.xml); <br /> if(oXml != null)<br /> {<br /> alert(oXml .text);<br /> var roles = oXml.selectNodes("//soap:Envelope/soap:Body/RetrieveMultipleResult/BusinessEntities/BusinessEntity") ; <br /> var rol;<br /> var valores;<br /> if(roles != null)<br /> {<br /> <br />alert(roles.length);<br /> for( i = 0; i < roles.length; i++)<br /> {<br /> rol=roles[i];<br /> valores=rol.selectSingleNode("q1:name");<br /> if(valores.text == roleName)<br /> {<br /> return true;<br /> }<br /> }<br /> }<br /> }<br />return false;<br /><br />}<br /><br /><br /><br />But the second function, no run. <br />"Client server was unable to process request. Error 0x80040216"<br /><br />Help me please, I dont undertand!!G.Alvarezhttps://www.blogger.com/profile/01512724222822674438noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-33047836602255043362009-05-12T22:08:00.000+01:002009-05-12T22:08:00.000+01:00酒店經紀PRETTY GIRL 台北酒店經紀人 ,禮服店 酒店兼差PRETTY GIRL酒店公關 酒...酒店經紀PRETTY GIRL <A HREF="http://www.taipeilady.com/" REL="nofollow" TITLE="台北酒店經紀人">台北酒店經紀人</A> ,<A HREF="http://tw.myblog.yahoo.com/jw!qZ9n..6QEhhc0LkItOBm/" REL="nofollow" TITLE="禮服店">禮服店</A> 酒店兼差PRETTY GIRL<A HREF="http://www.mashow.org/" REL="nofollow" TITLE="酒店公關">酒店公關</A> 酒店小姐 彩色爆米花<A HREF="http://blog.xuite.net/jkl338801/blog/" REL="nofollow" TITLE="酒店兼職">酒店兼職</A>,酒店工作 彩色爆米花<A HREF="http://tw.myblog.yahoo.com/jw!BIBoU5SeBRs21nb_ajFpncbTqXds" REL="nofollow" TITLE="酒店經紀">酒店經紀</A>, <A HREF="http://mypaper.pchome.com.tw/news/thomsan/3/1310065116/20080905040949/" REL="nofollow" TITLE="酒店上班">酒店上班</A>,酒店工作 PRETTY GIRL<A HREF="http://tw.myblog.yahoo.com/jw!rybqykeeER6TH3AKz1HQ5grm/" REL="nofollow" TITLE="酒店喝酒">酒店喝酒</A>酒店上班 彩色爆米花<A HREF="http://mypaper.pchome.com.tw/news/jkl338801/" REL="nofollow" TITLE="台北酒店">台北酒店</A>酒店小姐 PRETTY GIRL<A HREF="http://www.mashow.org/" REL="nofollow" TITLE="酒店上班">酒店上班</A>酒店打工PRETTY GIRL<A HREF="http://www.tpangel.com/" REL="nofollow" TITLE="酒店打工">酒店打工</A>酒店經紀 彩色爆米花Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-61445252094268077252009-02-23T19:22:00.000+00:002009-02-23T19:22:00.000+00:00thanks! just what i needed! you deserve to be MVPthanks! just what i needed! you deserve to be MVPAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-35876728669826517362008-12-02T17:38:00.000+00:002008-12-02T17:38:00.000+00:00Venu. Try this.//check if the current user has the...Venu.<BR/><BR/> Try this.<BR/><BR/>//check if the current user has the '_AFM Acct. Rating Priv.' role<BR/>//alert(UserHasRole("_AFM Acct. Rating Priv."));<BR/><BR/><B>var oARC = crmForm.all.accountratingcode;<BR/><BR/>if(UserHasRole("_AFM Acct. Rating Priv."))<BR/>{<BR/>oARC.Disabled = false;<BR/>}<BR/>else<BR/>{<BR/>oARC.Disabled = true;<BR/>}<BR/></B><BR/> Put that before or after the main function.Mark Chaffeehttps://www.blogger.com/profile/18113056339572726500noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-34226116523662959322008-12-02T17:25:00.000+00:002008-12-02T17:25:00.000+00:00Great Code. I been looking for this high and low ...Great Code. I been looking for this high and low for 6 hours now.Mark Chaffeehttps://www.blogger.com/profile/18113056339572726500noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-9421949958724229162008-10-14T04:09:00.000+01:002008-10-14T04:09:00.000+01:00I just posted how to do get the same security role...I just posted how to do get the same security roles via C# for CRM server-side development. This was not well documented due to the many-to-many relationship.<BR/><BR/>http://jamiemiley.com/wordpress/?p=26Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-45600901538763331082008-08-25T16:21:00.000+01:002008-08-25T16:21:00.000+01:00What does this look like in c# in plugin developme...What does this look like in c# in plugin development. I want to do this on the server side.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-79135231684463089382008-08-15T22:12:00.000+01:002008-08-15T22:12:00.000+01:00Hi Jim,Thanks for the updated code, work great. I ...Hi Jim,<BR/>Thanks for the updated code, work great. I do have one question though, do you know why when I load the page it asks me to log in even though I already log into the system? It only asks to log in once though so if I close and open the screen again, it won't ask and know what my role is. Anyway to stop this log in screen from come up at all?<BR/><BR/>Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-10559381463928202152008-07-09T17:24:00.000+01:002008-07-09T17:24:00.000+01:00Thanks a ton Jim, you saved a day for meThanks a ton Jim, you saved a day for meherohttps://www.blogger.com/profile/15274781292602536611noreply@blogger.comtag:blogger.com,1999:blog-7208889.post-87658214056215946502008-06-23T15:31:00.000+01:002008-06-23T15:31:00.000+01:00It's so smooth and clean!Thanks man!BTW: depending...It's so smooth and clean!<BR/><BR/>Thanks man!<BR/><BR/>BTW: depending on your requests, you could need to cache the roles xml, in case you have to check for multiple roles.<BR/><BR/>I did this:<BR/><BR/>/////////////<BR/>var userRoles = null;<BR/><BR/>function UserHasRole(roleName)<BR/>{<BR/> if (!userRoles)<BR/> {<BR/> userRoles = GetCurrentUserRoles();<BR/> }<BR/> var oXml = userRoles;<BR/> if(oXml != null)<BR/>.....<BR/>.....<BR/>.....<BR/><BR/>This keeps you from double requesting user roles.<BR/><BR/>Keep up with the good work!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-65712806382840249212008-05-30T17:14:00.000+01:002008-05-30T17:14:00.000+01:00How would you rewrite this code to include an if s...How would you rewrite this code to include an if statement to check for user role instead of passing one in?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-60473659269459623942008-05-21T22:32:00.000+01:002008-05-21T22:32:00.000+01:00This was a lifesaver! Kudos.This was a lifesaver! Kudos.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-9424708458930738822008-04-24T22:29:00.000+01:002008-04-24T22:29:00.000+01:00It fixed my problem as BigCalm said above.ThanksIt fixed my problem as BigCalm said above.<BR/><BR/>ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7208889.post-40898134225080618292008-04-22T15:42:00.000+01:002008-04-22T15:42:00.000+01:00I have modified the RetrieveMultiple line like Big...I have modified the RetrieveMultiple line like BigCalm has posted but I'm getting the same result:<BR/><BR/>---> "Internal Server Error"<BR/><BR/>---> 0x80040203<BR/><BR/>---> false<BR/><BR/>Any suggestion?Unknownhttps://www.blogger.com/profile/05951272569416182294noreply@blogger.com