Creating multiple PWA instances in the same farm

I need to provision multiple PWA instances in the same farm. My business requirement is, i have more than 100 branches and i suppose to create an individual PWA instance per each branch, but i need to know what is the best practice of this ? What about the performance, maintenance effect and side effects of provisioning more than 100 PWA instances in the same farm ? or else Can i mange all the projects of more than 100 branches in one PWA instance ? I am using Project Server 2013 and SharePoint 2013. I am using the project server through SharePoint. Please someone help me to proceed. Any guide is appreciated.

Sharepoint 2010 workflow in VS – Namespace error

I’m trying to build a reusable workflow solution that I have imported into VS 2010 to add some code-behind. However, when I try and build the freshly imported workflow, I get the following error (27 times):

The type or namespace name 'Workflow' does not exist in the namespace 'Microsoft.Office' (are you missing an assembly reference?)

these are the references I have at the beginning of my code for the workflow namespace (namespace is called PDFConversionWorkflow):

namespace PDFConversionWorkflow
{
    using Microsoft.Office.Word.Server;
    using Microsoft.Office.Word.Server.Conversions;
    using System;
    using System.Workflow.Activities;
    using System.Workflow.ComponentModel;
    using System.Workflow.Runtime;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Workflow;
    using Microsoft.SharePoint.WorkflowActions;

The errors occur in the .xoml file, however.

From searching online I have found references to mismatched Target frameworks – my target framework for my project is .NET Framework 3.5 and I haven’t seen any references to this version being an issue.

How would I solve this problem? Any help would be greatly appreciated!

How to Update/Set Field values by LookUpId in a sharepoint list?

I have a list called ResourceCheckList which contains following columns with lookup fields as below :

enter image description here

Here Resource:ID is a lookup column which contains unique ID of another list.

So, I want to update CubeOffice to No where Resource:ID == 14

My code:

function lookup(){

var cc = SP.ClientContext.get_current();
var list = cc.get_web().get_lists().getByTitle('ResourceCheckList');
var listitem = list.getItemById(14); <-- i think this statement goes wrong

listitem.set_item('CubeOffice',false);
listitem.update();
cc.executeQueryAsync(Function.createDelegate(this,this.onQuerysucceeded611),Function.createDelegate(this,this.onQueryFailed11));
}
function onQuerysucceeded611(){
alert('donelook');
}
function onQueryFailed11(sender, args){
alert('Request failed. nError: ' + args.get_message() + 'nStackTrace: ' + args.get_stackTrace());
}

Design:

<table>
<tr>
<td><input type="button" id="btnlookup" value="lookup" onclick="lookup()"></input></td>
</tr>
</table>

Help with SPServices.SPCascadeDropdowns function

I’m busy working on a form that requires a cascading relationship between two fields/dropdown columns.

Field 1 – ‘Country‘ and has is a lookup column of a list of Countries.
enter image description here

Field 2 – ‘Region‘ and is a lookup column of a list of ‘Regions‘ which is a list of regionsrelated to a ‘Country’ via a lookup column.

enter image description here

My use case here is, of course, depending on what I select in the ‘Country’ field, I want to then update the ‘Regions’ field to only show the Regions related to the selected country.

I have followed the following tutorial here – http://spservices.codeplex.com/wikipage?title=%24%28%29.SPServices.SPCascadeDropdowns&referringTitle=Documentation
(You will notice I am not including the ‘States’ column, as I dont need this 3rd level.)

I have followed the example almost to the T, but when I run it I get the following error

enter image description here

I am struggling to understand or figure out where the ‘connection’ is breaking in the Regions list. My column names all seem to be correct.. :-/

Any advice?
Thanks!

Confusing, can a motor on a moving disc stop the disc?

I’ve been troubled trying to solve this problem.

If a motor is fixed on a moving rotating disc and the motor’s rotor has another disc attached to it. What would happen if we attached the motor’s disc to the the disc its on and powered the motor’s to rotate the disc opposite to the disc that the motor is moving on?

What would be the result, I couldn’t figure it out. Would the system stop? If the torque of the disc= torque of the motor’s disc.

EDIT: The motor is placed vertical on the disc, and the motor’s attached disc(on the rotor) has the same diameter is the one it’s placed on.