function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi all,
I am new to visualforce development platfrom.
How can I upload a file in a custom defined folder?
Plz help me..............
U may try this one
using standard controller as Document
code snippet for controller:
Document d = (Document) controller.getRecord(); Folder folder = [Select Id From Folder Where Name= :'CandidateImages']; d.folderid=folder.id; System.debug('>>>'+ d.folderid); System.debug('>>>'+ d); insert d;
Folder will return id of folder.
U may try this one
using standard controller as Document
code snippet for controller:
Folder will return id of folder.