-
Notifications
You must be signed in to change notification settings - Fork 7
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
Integrate File-Picker into an OC-Web app #40
Comments
Hi @Heiss 👋 Since you're using the file picker within oC Web extension, could you pls try a couple more props?
Let me know if this helps. Sorry, it's not yet well documented... |
Hey @LukasHirt , i reduced my first approach to the following code: <template>
<div class="uk-flex uk-flex-center uk-flex-middle uk-height-1-1 uk-width-1-1">
<file-picker
ref="filePicker"
variation="location"
bearerToken="getToken"
:is-sdk-provided="true"
:config-object="{}"
/>
</div>
</template>
<script>
import { mapGetters } from "vuex";
import FilePicker from "@ownclouders/file-picker";
export default {
components: {
FilePicker,
},
computed: {
...mapGetters(["getToken"]),
},
};
</script> This has the same error message as before: I test the above code without your suggestions, too, but i got the same error message. No problem with the documentation. :) I know that. Not every parameter needs to know by the user. But their helps for debugging. This are early-adopters problems. So i am here to help to find the problems. :) Thank you for your help. |
@Heiss hmm, that's strange. One more question regarding your setup... are you running it with the 0.3.0 version or using a local link with the current master? |
@LukasHirt I am using |
Could you try the following?
Then run it and see if the error is still there? |
This is due to the outdated ODS version. Already working on an update here #36 It will be part of the next release together with all the other changes. |
Ah okay. Thank you. But now, i can integrate my app into oc-web. Cool. |
Hey, Also i wonder, why there are 3 buttons in the file-picker: 2 for accept the selection and 1 for decline it. How i can check for events, when cancel was clicked or submit? Why changes the text of the button above the filelist, when you select a folder? Can i define the text with gettext for all buttons? Thank you for your help. :) |
Okay, after an update of Maybe needed to mention, that i use vue's event bus to listen to the event... |
@Heiss We've just released version 0.4.0. You should be now able to run the file picker without the local link after updating it. I'll also work on the documentation to cover now all the missing parts and will take a look into your finding with the event. |
Hey there,
i have the following problem with the file-picker inside of my sciebo RDS-app.
My app crashes while loading inside of OC-Web (e.g. requests
http://localhost:9100/index.html#/files/list/all/%2F
with the following error message:The integration code can be found here: RDS-Web.
I think, it is a problem of my integration. But i cannot see the problem. Can you help me to figure it out? Do you need any further informations?
Thank you for your help.
The text was updated successfully, but these errors were encountered: