简体   繁体   English

如何在CRM 2011中保护托管解决方案

[英]How to protect managed solution in CRM 2011

Hi 你好

I have created a managed solution of crm 2011. I want that when I give it to client then it will work only one year. 我创建了crm 2011的托管解决方案。我希望当我将其提供给客户时,它将只能使用一年。

Is it possible? 可能吗?

I've seen this accomplished in different ways. 我已经看到了以不同方式实现的目标。 It isn't available out of the box, but as glosrob says above, you can accomplish this with some custom plugins. 它不是开箱即用的,但是正如glosrob所说,您可以使用一些自定义插件来实现。

If you already have plugins that do things, you can add a date/time check at the top of the plugin and throw an exception if they are out of their license period. 如果您已经具有执行此操作的插件,则可以在插件顶部添加日期/时间检查,如果超出许可期限,则引发异常。

You can also create new plugins that run on Retrieve of your entities that do the same thing. 您还可以创建新的插件,这些插件可以在执行相同操作的实体的检索上运行。 So if your user attempted to view a list of records for your entity while outside of their license period, they would also see an exception pop-up. 因此,如果您的用户在许可期限之外尝试查看您实体的记录列表,他们还将看到一个异常弹出窗口。

You can also put these checks into any Silverlight web-resources that you use, and even javascript web-resources. 您还可以将这些检查放到您使用的任何Silverlight网络资源中,甚至是javascript网络资源中。 Don't depend on javascript obviously, but it could at least show the user friendly messages or reminders that they need to obtain a newer license. 显然不要依赖javascript,但是它至少可以显示用户友好的消息或提醒,他们需要获得更新的许可证。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM