Please consider registering
guest

Log In Members

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
add file into folder sharepoint javascript client object model -Sharepoint 2010
August 8, 2011
8:19 pm
suvitha
Guest

Hi this is suvitha

 

since this site has lot of client object model examples i hope you can help me with this.

I want to add a file into a folder (like move or copy) using the javascript client object model of Sharepoint 2010

 

My users will select the file and will click on a custom button to move or copy the file into a secific folder.

 

how can they move\copy and upload a file into a folder?

 

Thank you.

suvitha

August 10, 2011
12:59 am
Admin
Forum Posts: 256
Member Since:
May 30, 2010
Offline

you can copy a file using ecmascript client objetc model with

File.copyTo(_destinationlibUrl, true);

 

see example  - http://www.learningsharepoint......ry-part-2/

August 10, 2011
6:53 pm
Ravi Parshad
Guest

You cannot upload a document using ecmascript\javscript client object model in SharePoint 2010. You can only copy and\or move it into a library

Forum Timezone: UTC 0

Most Users Ever Online: 102

Currently Online:
16 Guest(s)

Currently Browsing this Page:
2 Guest(s)

Member Stats:

Guest Posters: 993

Members: 16882

Moderators: 0

Admins: 1

Forum Stats:

Groups: 3

Forums: 10

Topics: 1281

Posts: 2427

Administrators: Learning SharePoint: 256