thought I'd start a thread about
- file links
- situation when the linked files are moved
- relative paths
- plan for the future related to this topic
reason being I'm in the situation where I have to (or think it's best to) reorganise files and folders due to a major restructuring of a job (the details arent important really)
so I have to make a decision about how I proceed.
1. if links are broken by, say, moving a folder, is there a method of changing/correcting links en masse
Example: 20 files from one folder linked in grid in IQ. Folder gets moved ..
Example: 20 files from one folder linked in grid in IQ. Folder gets moved ..
Answer to example: well it looks like if I simply change the FilePath field * en masse that this will work - this in spite of the fact that the path in the item link appears to be wrong. [edit] worked once but not the second attempt ! will try again [edit]
* The FilePath field contains the path to the parent folder.
1.1. so I guess the question now is if it is planned to find links for moved files in general ?
1.1.1 From Link to Files, Folders and URLs
Autoupdating links: If the linked file is in the YourFile.sndb.Files folder, then any links which cannot be resolved (moved, on a different computer, etc) will search in that folder and if resolved, will update the FilePath field accordingly. This is a great way to simulate file embedding. Simply copy your sndb file and the associated subfolder to a portable drive and your links will remain functional
-
I think I understand this - I wouldnt want to (or possibly even be able to) put all the files into that folder, but I'm wondering could there be some way of making a file (txt / csv?) that would have old paths and new paths and if this was placed in the YourFile.sndb.Files folder and that IQ could read it and correct paths.
2.. is anyone here actually using relative links? If so could you tell us about your experience
2.1. From www.sqlnotes.net/drupal5/index.php it says
> If you move both the SQLNotes file and the linked files, the links will still work (that's the idea behind relative links). To really work well however, the linked files must be under the SQLNotes file. If they are like ..\otherfolder\myfile.txt, then you'll need to move otherfolder too.
My situation is complicated by the fact my db file is in a dropbox folder ... oh dear
It's that I want to organise things now so as they can last without too much messing around in the future. Gives me a headache it does.
Any comments, suggestions, or opinions welcome
Comments
Example: 20 files from one folder linked in grid in IQ. Folder gets moved ..
[quote=Pierre_Admin]
Make sure the new FilePath is correct. The order when double-click on an item is:
Check if the item text corresponds to a valid file. If yes, open it
Check filepath and filename. If it exist, open it
[/quote]
new FilePath is correct - still not working - will try a couple of more tests later
unfortunately I deleted the first test (which was only with one file but it seemed to work but it was also very quickly done with possibility of some mistake there)
Just tried another few files and it didnt work again, so I can say this is not working for me anyway Pierre
I made sure to add the back-slash at the end of the FilePath - cant see that there's anything else I could have done wrong ..
[/quote]
any chance you could have a look at this Pierre ?
-
I did a third test without success
is "File link saved to: ..." a hyperlink?[edit] answered in previous post [/edit]D:\R\Mod\IS443E Management Information Systems\Situational Applications Builder Evaluation Criteria.xls
Application Space.vsd (D:\Q\KIMSPAG\CITSA 2009 - Evaluating Situational Applications Builders)