Saving document to sub-folder
I'm a Mac newbie, but 100 hours a week on Windows. This stuff ain't easy. Mac for Dummies (Baig) p.115 shows "New Folder" button, but I can't find it in my new Leopard system after searching for an hour. What to do?
Welcome to Apple Discussions ctab
By default, save dialog boxes in OS X have very limited information.
By clicking the blue button with the down-facing triangle, the box will expand, giving you a Finder-like column view.
It's not unusual for me to click save & not realize the selected location isn't where I thought it was. To find it, I cheat. I choose Save As… but, instead of saving, I look at the save dialog to see where Pages (or whatever application) plans to save to.
Similar Messages
-
I have saved some of the related tabs in a common sub folder in the bookmarks list and whenever i have to open this tabs always i have to open them individually coz the 'open all in new tabs' option is not available for subfolder, so is there any command or click available from which i can directly open all the saved tabs of a subfolder simultaneously in one single attempt ? using vaio laptop, windows 7 basic, firefox version 6.0.2 !
yes i do that on my desktop but i dont have middle click option on laptop and even in the right click context the ''open all in tabs'' option is desplayed but is in light color i.e. not functional. Is this a problem with windows 7 or missing plugin or add on could help or extension of some sort ? please help !
-
I edited photos in photo shop thay I took off my camera and when I was done I saved them in a folder in my documents as a jpeg. now when I try to open them there is an encryption error message
The folks here would need far more information from you before they provide help.
You know the drill: Exact OS...PS version...etc. The more you provide, the better.
What is the exact message that is displayed?
What have you tried so far?
Do the files display on your browser? In Bridge?
What are you doing when it happens?
Are the files still on your cameras card? If so and,you copy one to your desktop and save it without changes, does it reload properly?
Don't worry about providing too much information. Every little bit helps. -
How can I create a sub-folder within my "Documents" folder?
How can I create a sub-folder within my "Documents" folder? I have many similar documents that I want to group together. This will also un-clutter my Documents folder.
Also, you can add a New Folder button to the Finder's toolbar by opening Finder, going to the View menu in the menubar, selecting Customize Toolbar..., and dragging the New Folder icon to the toolbar in the Finder window. Then it's just one-click for new folders wherever you want them.
-
Page not found Error while creating new sub folder in the Sharepoint Document Library
Hi All,
I am a site collection administrator when i creating new sub folder under the folder in document library, am getting below error
"Page not found The
page you're looking for doesn't exist."
please help me, Thanks in advance!!
SrinivasHi Srinivas,
Please check ULS log for more useful information when this error occurs.
Please also check if this issue could be reprodued in other libraries, if not, you can use the new library instead.
Thanks
Daniel Yang
TechNet Community Support -
How to check for the sub folder in the document library Is already Exist using CSOM?
Hi,
My requirement is to create the folder and sub folder in SharePoint document library. If already exist leave it or create the new folder and the subfolder in the Document library using client side object model
I able to check for the parent folder.
But cant able to check the subfolder in the document library.
How to check for the sub folder in the document library?
Here is the code for the folder
IsFolder alredy Exist.
private
string IsFolderExist(string InputFolderName)
string retStatus = false.ToString();
try
ClientContext context =
new ClientContext(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryLink"]));
context.Credentials =
CredentialCache.DefaultCredentials;
List list = context.Web.Lists.GetByTitle(Convert.ToString(ConfigurationManager.AppSettings["DocumentLibraryName"]));
FieldCollection fields = list.Fields;
CamlQuery camlQueryForItem =
new CamlQuery();
camlQueryForItem.ViewXml =
string.Format(@"<View Scope='RecursiveAll'>
<Query>
<Where>
<Eq>
<FieldRef Name='FileDirRef'/>
<Value Type='Text'>{0}</Value>
</Eq>
</Where>
</Query>
</View>",
@"/sites/test/hcl/"
+ InputFolderName);
Microsoft.SharePoint.Client.ListItemCollection listItems = list.GetItems(camlQueryForItem);
context.Load(listItems);
context.ExecuteQuery();
if (listItems.Count > 0)
retStatus =
true.ToString();
else
retStatus =
false.ToString();
catch (Exception ex)
retStatus =
"X02";
return retStatus;
thanks
SundharHi Sundhar,
According to your description, you might want to check the existence of sub folder in a folder of a library using Client Object Model.
Please take the code demo below for a try, it will check whether there is sub folder in a given folder:
public static void createSubFolder(string siteUrl, string libName, string folderServerRelativeUrl)
ClientContext clientContext = new ClientContext(siteUrl);
List list = clientContext.Web.Lists.GetByTitle(libName);
CamlQuery camlQuery = new CamlQuery();
camlQuery.ViewXml =
@"<View Scope='RecursiveAll'>
<Query>
<Where>
<Eq>
<FieldRef Name='FSObjType' />
<Value Type='Integer'>1</Value>
</Eq>
</Where>
</Query>
</View>";
//camlQuery.FolderServerRelativeUrl = "/Lib1/folder1";
camlQuery.FolderServerRelativeUrl = folderServerRelativeUrl;
ListItemCollection items = list.GetItems(camlQuery);
clientContext.Load(items);
clientContext.ExecuteQuery();
Console.WriteLine(items.Count);
if (0 == items.Count)
//create sub folder here
Best regards
Patrick Liang
TechNet Community Support -
Retrieve all folder & sub folder from document library in sharePoint 2013
Hi,
I want to retrieve all the folder and sub folder from document library and bind it to the dropdownlist using server object model.
I used the below query to get all folder and sub folder.\
query.Query = @"<Query><Where><Eq><FieldRef
Name='FSObjType' /><Value Type='Lookup'>1</Value></Eq></Where></Query>";
query.ViewAttributes
="Scope='RecursiveAll'";
query.ViewFields
= "<FieldRef Name='Title'/>";
query.ViewFieldsOnly
= true;
but when I bind result with the dropdownlist,it displays the output as below
Please Help
Thank YouHi,
Thanks for posting your issue, Kindly try out below mentioned CAML query to get all the Folders and Subfolders from Document Library
<Query>
<Where>
<Contains>
<FieldRef Name='FileLeafRef' />
<Value Type='Text'>token</Value>
</Contains>
</Where>
<OrderBy><FieldRef Name='FileDirRef' /></OrderBy>
</Query>
<ViewFields>
<FieldRef Name='ID' />
<FieldRef Name='LinkFilename' />
<FieldRef Name='FileDirRef' />
<FieldRef Name='FileLeafRef' />
</ViewFields>
<QueryOptions>
<ViewAttributes Scope='Recursive' />
<OptimizeFor>FolderUrls</OptimizeFor>
</QueryOptions>
Also, check out below mentioned URLs to fix this issue
https://social.msdn.microsoft.com/Forums/office/en-US/35e799a1-9360-46e5-8719-dd35fdace7ea/filter-document-library-folder-through-caml-query?forum=sharepointdevelopmentlegacy
http://www.ktskumar.com/blog/2009/07/retrieve-all-folders-from-list/
I hope this is helpful to you, mark it as Helpful.
If this works, Please mark it as Answered.
Regards,
Dharmendra Singh (MCPD-EA | MCTS)
Blog : http://sharepoint-community.net/profile/DharmendraSingh -
How can I edit a saved document that is within a file folder?
How can I edit a saved document ?
With just the free Reader? No way. It can be done with Acrobat.
-
How to loop folder , sub folder and files in the sql server ?
Hi,
I have a folder , sub folder and files like this.
Here AuditSearchHistory fixed folder and contains 2 subfolders , but some times it may contain more sub folders also.
Please help me to loop the subfolders to get xls files in the sql without SSIS , Because I need to get just xls file paths.
Thank you.Please run these Macros in Excel.
Sub TestListFilesInFolder()
' Open folder selection
' Open folder selection
With Application.FileDialog(msoFileDialogFolderPicker)
.Title = "Select a Folder"
.AllowMultiSelect = False
If .Show <> -1 Then GoTo NextCode
pPath = .SelectedItems(1)
If Right(pPath, 1) <> "\" Then
pPath = pPath & "\"
End If
End With
NextCode: 'MsgBox "No files Selected!!"
'Application.WindowState = xlMinimized
'Application.ScreenUpdating = False
Workbooks.Add ' create a new workbook for the file list
' add headers
ActiveSheet.Name = "ListOfFiles"
With Range("A2")
.Formula = "Folder contents:"
.Font.Bold = True
.Font.Size = 12
End With
Range("A3").Formula = "File Name:"
Range("B3").Formula = "File Size:"
Range("C3").Formula = "File Type:"
Range("D3").Formula = "Date Created:"
Range("E3").Formula = "Date Last Accessed:"
Range("F3").Formula = "Date Last Modified:"
Range("A3:F3").Font.Bold = True
Worksheets("ListOfFiles").Range("A1").Value = pPath
Range("A1").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Selection.Font.Bold = True
ListFilesInFolder Worksheets("ListOfFiles").Range("A1").Value, True
' list all files included subfolders
Range("A3").Select
Lastrow = Range("A1048576").End(xlUp).Row
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Add Key:=Range( _
"B4:B" & Lastrow), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption:= _
xlSortNormal
With ActiveWorkbook.Worksheets("ListOfFiles").Sort
.SetRange Range("A3:F" & Lastrow)
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("A1").Select
Cells.Select
Cells.EntireColumn.AutoFit
Columns("A:A").Select
Selection.ColumnWidth = 100
Range("A1").Select
End Sub
Sub ListFilesInFolder(SourceFolderName As String, IncludeSubfolders As Boolean)
' lists information about the files in SourceFolder
Dim FSO As Scripting.FileSystemObject
Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
Dim FileItem As Scripting.File
Dim r As Long
Set FSO = New Scripting.FileSystemObject
Set SourceFolder = FSO.GetFolder(SourceFolderName)
r = Range("A1048576").End(xlUp).Row + 1
For Each FileItem In SourceFolder.Files
' display file properties
Cells(r, 1).Formula = FileItem.Path & FileItem.Name
Cells(r, 2).Formula = (FileItem.Size / 1048576)
Cells(r, 2).Value = Format(Cells(r, 2).Value, "##.##") & " MB"
Cells(r, 3).Formula = FileItem.Type
Cells(r, 4).Formula = FileItem.DateCreated
Cells(r, 5).Formula = FileItem.DateLastAccessed
Cells(r, 6).Formula = FileItem.DateLastModified
' use file methods (not proper in this example)
r = r + 1 ' next row number
Next FileItem
If IncludeSubfolders Then
For Each SubFolder In SourceFolder.SubFolders
ListFilesInFolder SubFolder.Path, True
Next SubFolder
End If
Columns("A:F").AutoFit
Set FileItem = Nothing
Set SourceFolder = Nothing
Set FSO = Nothing
ActiveWorkbook.Saved = True
End Sub
Or . . .
Option Explicit
Sub CreateList()
Application.ScreenUpdating = False
Workbooks.Add ' create a new workbook for the folder list
' add headers
ActiveSheet.Name = "ListOfFiles"
With Cells(3, 1)
.Value = "Folder contents:"
.Font.Bold = True
.Font.Size = 12
End With
Cells(4, 1).Value = "Folder Path:"
Cells(4, 2).Value = "Folder Name:"
Cells(4, 3).Value = "Folder Size:"
Cells(4, 4).Value = "# Subfolders:"
Cells(4, 5).Value = "# Files:"
Range("A3:E3").Font.Bold = True
ListFolders BrowseFolder, True
Application.ScreenUpdating = True
Cells.Select
Cells.EntireColumn.AutoFit
Columns("A:A").Select
Selection.ColumnWidth = 100
Columns("B:B").Select
Selection.ColumnWidth = 25
Range("A1").Select
End Sub
Sub ListFolders(SourceFolderName As String, IncludeSubfolders As Boolean)
' lists information about the folders in SourceFolder
Dim FSO As Scripting.FileSystemObject
Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
Dim r As Long
Set FSO = New Scripting.FileSystemObject
Set SourceFolder = FSO.GetFolder(SourceFolderName)
' display folder properties
Worksheets("ListOfFiles").Range("A1").Value = SourceFolderName
Range("A1").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Selection.Font.Bold = True
r = Cells(Rows.Count, 1).End(xlUp).Row + 1
Cells(r, 1).Value = SourceFolder.Path
Cells(r, 2).Value = SourceFolder.Name
Cells(r, 3).Value = SourceFolder.Size
Cells(r, 3).Value = (SourceFolder.Size / 1048576)
Cells(r, 3).Value = Format(Cells(r, 3).Value, "##.##") & " MB"
Cells(r, 4).Value = SourceFolder.SubFolders.Count
Cells(r, 5).Value = SourceFolder.Files.Count
If IncludeSubfolders Then
For Each SubFolder In SourceFolder.SubFolders
ListFolders SubFolder.Path, True
Next SubFolder
Set SubFolder = Nothing
End If
Columns("A:E").AutoFit
Set SourceFolder = Nothing
Set FSO = Nothing
ActiveWorkbook.Saved = True
End Sub
Or . . .
Const BIF_RETURNONLYFSDIRS As Long = &H1 ''' For finding a folder to start document searching
Const BIF_DONTGOBELOWDOMAIN As Long = &H2 ''' Does not include network folders below the domain level in the tree view control
Const BIF_RETURNFSANCESTORS As Long = &H8 ''' Returns only file system ancestors.
Const BIF_BROWSEFORCOMPUTER As Long = &H1000 ''' Returns only computers.
Const BIF_BROWSEFORPRINTER As Long = &H2000 ''' Returns only printers.
Const BIF_BROWSEINCLUDEFILES As Long = &H4000 ''' Returns everything.
Const MAX_PATH As Long = 260
Type BROWSEINFO
hOwner As Long
pidlRoot As Long
pszDisplayName As String
lpszINSTRUCTIONS As String
ulFlags As Long
lpfn As Long
lParam As Long
iImage As Long
End Type
Declare Function SHGetPathFromIDListA Lib "shell32.dll" (ByVal pidl As Long, ByVal pszBuffer As String) As Long
Declare Function SHBrowseForFolderA Lib "shell32.dll" (lpBrowseInfo As BROWSEINFO) As Long
Function BrowseFolder() As String
Const szINSTRUCTIONS As String = "Choose the folder to use for this operation." & vbNullChar
Dim uBrowseInfo As BROWSEINFO
Dim szBuffer As String
Dim lID As Long
Dim lRet As Long
With uBrowseInfo
.hOwner = 0
.pidlRoot = 0
.pszDisplayName = String$(MAX_PATH, vbNullChar)
.lpszINSTRUCTIONS = szINSTRUCTIONS
.ulFlags = BIF_RETURNONLYFSDIRS
.lpfn = 0
End With
szBuffer = String$(MAX_PATH, vbNullChar)
''' Show the browse dialog.
lID = SHBrowseForFolderA(uBrowseInfo)
If lID Then
''' Retrieve the path string.
lRet = SHGetPathFromIDListA(lID, szBuffer)
If lRet Then BrowseFolder = Left$(szBuffer, InStr(szBuffer, vbNullChar) - 1)
End If
BrowseFolder = BrowseFolder & "\"
End Function
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
Saving Documents (location)
When i pres save as in a new document I can only see the top level folders, and i am unable (or the system doesnt let me more like) navigate to a sub folder where I want to save some work.
This also happens in Word and Excel also
How can i get the system to allow me to navigate to where I want to save a documentIn the Save or Save As dialog box, to the right of the name of the saved document you'll see a downward pointing arrow. Click it to see a hierachical menu where you can navigate to any location you want.
-
'Contacts' folder with sub folder cannot be removed after synching via iTunes
'Contacts' folder with sub folder cannot be removed after synching via iTunes
I am trying to remove a 'Contacts' subfolder
ie Contacts < default folder
- Contacts Mysubfolder 1 < Trying to remove this subfolder folder
via my microsoft outlook onto my iPhone.
Despite not having 'Contacts Mysubfolder 1' on my PC's outlook after deleting it, it does not delete the subfolder in my iPhone.
I even restored my iPhone settings to the original via iTunes.
I also replaced my physical iPhone but still synching with my original Apple ID + iTunes on the same desktop.
All I did was after replacement of my iP, i setup my microsoft Exchange account, and there it was, the Contacts subfolder which is no longer around, appears on my iPhone contacts folder list.
My outlook is on Microsoft exchange and I am on iP 3Gs
Please help
Thank youFor general advice see Troubleshooting issues with iTunes for Windows updates.
The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
If you are running 64-bit Windows and the above steps haven't helped try installing the version of iTunes that can be downloaded from this support document. iTunes 12.1 for Windows (64-bit — for older video cards)
If you still have no luck try reinstalling iTunes 12.0, links in the user tip.
tt2 -
Saving notes on a folder.
Still new to Imac,I wish to save some notes that I have typed on text edit (as I did not find a notepad or Word page like we do on PCs).I want to save it on a new folder that I managed to open in the Documents folder.I am not able to drag & drop the text file onto the New folder.How do I go about?
Hi, Ministrel -
First 'Save" the TextEdit file. Doing so will present a screen in which you can name the doument, and place it wherever you choose. For my convenience I usually save new documents (files) to the Desktop.
Then drag the file from where it was saved to into that folder.
If you have tried that, and are getting a 'you can't do that type of message when you try to drop it into the folder, please give us the exact text of the message. -
I have Adobe Reader X 10.0.0, PDF Version 1.4 (Acrobat 5.x). I have been saving PDF's for years, and each time I save, it goes to the last folder I saved to? The other day, I had approximately 15 PDF's that had been scanned to me, and after I had saved 5 of these documents normally, it then started going straight to a temporary folder, and has done ever since, which means I have to go through all the folders to get the one I desire? I have spoken to our I.T. department and they believe its a problem with PDF and not with our system, and I believe otherwise. I can use Recent Places, but when you have done the same thing for years, and the amount I do, change is not always good
Has anyone encountered the same problem, and can help?Hi Kat,
This is a bit geeky, but the signature appearance that you see on the page is not the signature, but just a graphical representation of the actual signature. The actual signature is a blob of hex encoded data in the PDF file that you don't really see. That aside...
When you create a digital signature the first thing Acrobat/Reader will ask you to do is select a digital ID to sign with. Acrobat then reads the digital ID and amasses some information to use to create the signature appearance. It then fills in the form field (a signature field is just a special use form field) with the appearance, BUT the signature still hasn't been created. The next thing Acrobat does is asks you to Save the file to disk. This is more geekiness, but it much safer to compute the signature byte range on disk then it is in memory. The simple explanation is it's harder for the bad guys to manipulate the bytes on disk then it is for them to control the bytes in memory and because a digital signature provides document security we err on the safe side and require the file to be written to disk before the signature is created. The other safety item is, we want to sign the signature appearance so that someone can't come along later and modify the appearance without breaking the signature, so it (the appearance) has to be created before the signature proper is created.
So at this point you've seen the signature appearance and thought that the signature has been created, but it hasn't. When you try to save to the network folder something is preventing Acrobat from saving the file and what ends up happening is the file is rolled back to the pre-signature state and the signature appearance is removed. The file is in essence untouched.
All of that aside (which is probably more than you really wanted to know) the real question is why can't the file be saved to the network folder. This isn't really a digital signature issue, but rather a network permissions issue.
Steve -
I saved a 5 page document on my macpro laptop in iwork. I emailed the document. The person claimed she didn't get the email. When I went to look at my sent mail the entire sent mail folder is gone and my saved document is also gone except for the first page. What happened? How can I get it back?
Also, how did my Notes app stuff end up in my aol emal folders?
Message was edited by: nancyloufromnyFrom the menu bar, select
▹ System Preferences... ▹ Network
Click the Assist me button and select Assistant. Follow the prompts. How far do you get? -
My previously saved documents in Pages will not open. When I click on one of the documents it is saying, "you need a newer version of Pages to open this document. You can download the latest version of Pages from the Apps Store, but when I click on the apps store, it states that is installed and running the current version. Help, I can't open any of my saved documents.
The problem is that you have both versions of pages on your computer - pages 09 is in the dock with the old ink pot icon - pages version 5 (orange pen and paper icon) is in your applications folder. Delete your pages 09 icon from your dock by dragging it upwards in a puff of smoke - and drag the pages 05 icon from the applications folder to your dock and use that in future. This fixed it for me.
I presume I can uninstall pages 09 now. You need to do the same with numbers and keynote.
Maybe you are looking for
-
<div><font face="Arial" size="2"><span class="493345917-06032007">We viewed a demo on webElements and have a question about something that was mentioned in that demo, i.e. "You can create a PDF report, but you have to do some tricks." </span></font>
-
Data written in Operationamanager DB shows 1 Hr old time than current time
Hi All, I have a strange issue on my SCOM 2007 R2 CU4 RMS, Just discovered this accidentally. I Configured an alert for testing and i used a sql query to extract the data for the test alert. In generally the Ops DB and Ops warehouse write data in GMT
-
Iphone is disabled connect to itunes?
Please help! This is the message I am now getting after my phone was locked on me. How do I fix this? Will I lose all my data? Thank You?
-
How do you see if a procedure was dropped.
How do you see if a procedure was dropped. How do see what you have dropped?
-
Can you add alpha to masks yet in flash?
Its somthing I have hoped would be implemented into flash at some point. Any one know if its avaialble yet? Basically I would like to draw a box with a fill gradient with one end of the gradient set to 0 alpha then set this box as a mask layer. if it