Tag Info

New answers tagged

3

you can create a separate Project eg. "Common" where you include those classes. You can reference that assembly than from your other Projects. Of course, you have to ensure that this wsp is installed along your other wsps (which use that dll)


0

It sounds like a "loopback check" issue. There's two methods to resolve these detailed here: https://support.microsoft.com/en-us/kb/896861 Since this is a Dev VM I'd suggest the second method.


2

If you limit the scope to the MSDN Walkthrough you linked, there is only one difference between Farm and Sandbox Solutions that is important. You could deploy the Sandbox Solution to SharePoint Online but not the Farm Solution. It's been a while since I looked at this but I'm 80% certain that when you deactivate the Feature, a site column created using CAML ...


1

In my experience, the only time you may want to use a Farm Solution instead of a Sandbox solution is if you have some site columns that are Managed Metadata or Lookup columns. The declarative syntax in your solution will only created the column, but in the case of a Managed Metadata column you will still need to connect it to a term set, and in the case of ...


1

First of all WSP Solutions are of two types. Farm based and Sandboxed. Sanboxed solutions are more restrictive in nature. They can be deployed by site collection owner whereas user needs to have administrative privileges to run or deploy Farm based solutions. Sandboxed solutions are uploaded in solution gallery and can be deployed from there. Whereas Farm ...


1

Below is your answer of your questions so how i need to assign their IDs ? can i enter whatever numbers i want ? Answer: You can assign any IDs to field but note that you should not use same id for two fields. Generally we should use "Create GUID" tool of Visual Studio (Tools => Create GUID => Select Registory Format) to generate random GUID second ...


1

Sorry, but this doesn't sound quite right. A staging environment should match the configuration of the prod environment. I wouldn't just tell someone to create a staging environment, I'd give them the script that configured prod so they could just run the script to duplicate the environment. Without the script, you'd at least need to know the service pack ...


1

You can add 'PreBuild' or 'Post-Deployment' command ECHO ------ %TIME% ------ or change verbosity option to 'Normal' in Options -> Project & Run -> Build & Run Refer this link for details and screen-shot.


0

If you want to update the same column for ALL items in the list, then the following code should work public override void Execute(Guid targetInstanceId) { SPWebApplication webApp = this.Parent as SPWebApplication; SPList taskList = webApp.Sites[0].RootWeb.Lists["Tasks"]; SPListItemCollection taskListItems = taskList.Items; int increment = 2; ...



Top 50 recent answers are included