Add WebService to my project (ASMX + CS) in Visual Studio

I've never found on my Visual Studio an option to directly add a new WebService file so I looked for a solution and I got this one, I hope it'll help you:1. From anywhere in your Solution Explorer (where you want to add the WebService), create a "New Item".2. In the "New Item" Window, select …

Sigue leyendo Add WebService to my project (ASMX + CS) in Visual Studio

SharePoint 2013 + Visual Studio 2012: File «.g.cs» dissapeared

Sometimes, when you're developing a visual web part, the designer file (with .g.cs extension) dissapears in front of your eyes. After finding nothing in the internet, we've just discovered why it is happening: You've to add the "Site URL" property in the Project properties. That's beacuse it is a web part for sharepoint, and Visual …

Sigue leyendo SharePoint 2013 + Visual Studio 2012: File «.g.cs» dissapeared

Example: Web.config for Custom HttpModule

<configuration> <system.webServer> <validation validateIntegratedModeConfiguration="false"/> <modules runAllManagedModulesForAllRequests="true"> <add name="myModule" type="ModuleNamespace.ModuleClass, ModuleNamespace"/> </modules> </system.webServer> <system.web> <compilation debug="true" targetFramework="4.5" /> <httpRuntime targetFramework="4.5" /> <trust level="Full" originUrl=""/> </system.web> </configuration>

How To: Obtain Workflow Trace in SharePoint

You can get a LOG file with your workflow trace following this steps:1. Edit web.config.2. Insert the following code just BEFORE <appSettings> (always AFTER </System.Workflow.ComponentModel.WorkflowCompiler>): <system.diagnostics> <sources> <source name="System.Workflow.Runtime" > <listeners> <add name = "System.Workflow"/> </listeners> </source> <source name="System.Workflow.Runtime.Hosting"> <listeners> <add name="System.Workflow"/> </listeners> </source> <source name="System.Workflow.Activities"> <listeners> <add name="System.Workflow"/> </listeners> </source> </sources> <sharedListeners> <add name="System.Workflow" type="System.Diagnostics.TextWriterTraceListener" initializeData="C:MyWorkflowTrace.log" …

Sigue leyendo How To: Obtain Workflow Trace in SharePoint

Allow Users To Create New Terms in SharePoint’s Taxonomy Term Store

If you go to the Term Store Management you can add new term sets in the taxonomy term store whenever you want. However, maybe you want to allow users to create new term sets, so you've to do this: 1. Go to the Term Store Management. 2. Select the Term Set that you want. 3. …

Sigue leyendo Allow Users To Create New Terms in SharePoint’s Taxonomy Term Store

SalesForce create(), update() y delete() desde Código Servidor

Existen tres funciones básicas que nos permiten interactuar con los registros de datos en SalesForce y sirven para crear, modificar o eliminar datos. Lo primero que debemos tener es una conexión con SalesForce y una instancia del servicio (A través de la clase SforceService). Una vez tengamos esta conexión, podemos utilizar las funciones mencionadas. Para …

Sigue leyendo SalesForce create(), update() y delete() desde Código Servidor