-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate file id on every download #72
Conversation
As I understand it, you need a different It'd be better to have the configuration generator create a GUID for |
Yeah, it looks like if there is a new FileID it will ask if you want to replace the current one, add a second application, or do nothing. What about making it |
I'd like to have |
Yeah, manually editing it is what I'm doing but I don't want to rely on On Wed, Apr 29, 2015 at 2:30 PM, Jason Barnabe notifications@github.com
Randy Schmidt |
How's that? |
Can you make it a public method instead, and add documentation (I suppose under "Multiple users and multiple company files")? |
I just tried setting the FileID to the MD5 of the file_path and it seems to work... and is pretty close to the meaning of that field, I think. What about using the MD5 of the file path by default? |
I think this is what you meant. I got rid of manually editing the |
I'm fairly sure that you need to change Can you use the existing GUID instead of a random one? As I previously mentioned, I don't think it's right to have the Since |
I had pulled that
I'll add back the paragraph since I'm not going to be manually updating the file. I pulled the app name out too. |
If you are connecting to multiple company files, you will additionally | ||
need to change `AppName` and `FileID` (any GUID) to be unique to each | ||
file. Alternatively you can override the `file_id` in the generated | ||
`QbwcController` to supply your own `FileID` when generating the file. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep paragraphs together in a single line.
Drop the word "Alternatively" and make sure to mention app_name
too.
Allow dynamic FileID and AppName
Filed #73 for not having hard-coded GUIDs. Thanks! |
Sure! This gem has helped a lot, thank you! On Wed, Apr 29, 2015 at 4:52 PM, Jason Barnabe notifications@github.com
Randy Schmidt |
I think page 36 of the following means the FileID should change when downloading a new file?
https://developer-static.intuit.com/qbSDK-current/doc/PDF/QBWC_proguide.pdf