在EventReceiver上,使用c#我想在List上的Sharepoint 2010 Choice字段中检索所有选定的值.任何人都可以建议/提供如何从Choice字段读取所有值的代码片段?
谢谢
在ItemAdding事件接收器中,我想List使用c#返回当前的完整URL .我该怎么做呢?
我试过了:
string currentURL = SPContext.Current.File.Url;
Run Code Online (Sandbox Code Playgroud)
但是,这会在运行时返回"对象引用未设置为对象的实例".
基本上寻找指导我需要做什么来返回此事件接收器中的当前URL?
谢谢