I created new folder like "Temp" and i past the dll which i got in "bin" folder.
I tryed the remaining part which you told but i didnt get.One more thing i need to tel you, my ddl location is
C:\Users\Administrator\Documents\Visual Studio 2010\Projects\WebpartUploadFiles\WebpartUploadFiles\bin\Debug.
Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe" is different know
1. Copy mydll.dll to temp
2. Open Windows Startmenue, type "powershell" open the Windows Powershell or the SharePoint 2010 Administration Shell
I completed upto this.
from 3rd point onwards i tryed in powershall but i am not able to got that..
3. Set alias to Gacutil, type:
Set-Alias Name:Gacutil -Value "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\gacutil.exe"
4. Add dll to gac, type:
Gacutil /i C:\temp\mydll.dll"
'Microsoft.SharePoint.WebControls.FieldLabel' does not contain a definition for 'lblResults' and no extension method 'lblResults' accepting a first argument of type 'Microsoft.SharePoint.WebControls.FieldLabel' could be found (are you missing a using directive or an assembly reference?)
lblResults.Text ="Files are Uploaded to Shared Document Library";
lblResults.Font.Bold = true;
this.lblResults.ForeColor = System.Drawing.Color.Blue;
Error 1 The type or namespace name 'UI' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
Error 2 The type or namespace name 'Label' could not be found (are you missing a using directive or an assembly reference?)
•Add the following references by right clicking on the WebpartUploadFiles project and clicking on “Add Reference”: Microsoft.SharePoint and Microsoft.SharePoint.WebControls.But i didt get Microsoft.SharePoint.WebControls in that list.
In my page i am going to create icons like NEW,UPLODE,SETTINGS.For these i need to do some custom logic.Consider all these things
SHAREPOINT FOUNDATION 2010 is enough or
SHAREPOINT SERVER 2010 IS NEED.
I am going to create new website like Shared doucumet. In that first page i want to create new icons like NEW,UPLOAD, ACTIONS.When i click "NEW" it seems create new folder, "UPLOAD" for uploading documents...These three icon i need to create in the top of the page itself.And i am going to create few accounts for access these shared document.For these and all SHAREPOINT FOUNDATION2010 is enough or i need to go SHAREPOINT SERVER2010.
I'm trying to figure out how people manage to have a separate development server and a production server environment when they do SharePoint development. There are some obvious ways of deploying Web parts but how do you synchronize a Site or a Site Collection where you do things like customizing a Document Library by creating some Site Columns in a content type hub for instance. I mean you can't always do changes in a live environment right. So please elaborate a bit on this.
When you have a development server all new features will be installed there first and after they work fine, they'll finde their way to the production server.
So the except for the content, the features are the same.
If you need the same content, you can clone the production server instead of installing a development server, make backups from the production server and restore them to the development server.
But I wouldn't see, why you should do that. You never need all the content to test, do you?
How can I create a workflow in sharepoint foundation that can approve by multiple person.For example approve by HR Manager, than approve by Accounts Manager.Also I want to Modify the task form to modify list item.
How can I create a workflow in sharepoint foundation that can approve by multiple person.For example approve by HR Manager, than approve by Accounts Manager
Instead of using the appoval-workflow I would design a new workflow.
First should be generated a task for the HR Manager (by example). When he "approves" you shouldn't set the state to approved but for example to "firstapprove". Then the workflow should generate a task for the next person, when he approves the state is set to "seconsapprove" and so on.
Just when the last in the row accepts the document the approval-state will be set to "approved".
Sukanta Saha wrote:
Also I want to Modify the task form to modify list item.
What do you want to change? The approval-form?
And what changes? Just the buttons or a remark?
You can use the SharePoint Designer for that.
Other changes might need complete new forms, you can generate with Visual Studio and that can be linked by Visual Studio, too.
hi i recently faced one issue when i try to restore the backup in new cloud share environment "yourbackup is from a different version of microosoft sharepoint foundation and cannot be restored to a serrver runniing the currentt version" please give me the detailed steps to fix this problem
SharePoint 2010 Enterprise SP1 W/ Duet
Description: OS: Windows Server 2008 R2 x64 SP1
Spec: 80 GB HD / 8 GB RAM
• Duet Enterprise for SharePoint and SAP Server 1.0
• SQL Server 2008 R2 Standard
• Visual studio 2010 Professional
• SharePoint Designer
• Office WebApps SP1
• Office Professional Plus 2010 SP1
• Visio 2010 Premium Edition
• Adobe Reader
You have to Synchronize Sharepoint with the AD. Therefore is the "User Profile Service". You can setup it so that it gets data from the AD or write it back, if you want to. You can even set, which data will be synchronized.