문제

So instead of going to the s3 page to set the s3 credentials. It isn't possible to call it to the API? for example on the json option

filepicker.pickAndStore({
    location: 'S3',
    bucket: '{bucketname}', //set here instead on the s3 settings page
    path: '/uploadpath/file.ext',
    access: 'public'
}, success function(InkBlob){
    console.log(InkBlob);
});

Or if this really isn't possible. Does it a good idea to include it for future use?

Thanks in advance

도움이 되었습니까?

해결책

I think if you want use different buckets you need to create two different filepicker apps that will use different buckets. Because when we are setting up s3 for an app we should fill "S3 Access Key ID", "Secret key" and "S3 bucket". Looks like only those settings for s3 storage are used

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top