In my Application, I just wanted to show images in the Appian interface as a preview that are actually in google drive
Discussion posts and replies are publicly visible
I think this should get you started:
www.labnol.org/google-drive-image-hosting-220515
Stefan, Please share the sample code with me,
and also, the thing is I just want to keep my files private.
I do not have any sample code or ever tried to do this kind of things.
Stefan, This Platform is very much familiar to you, if you try, then you can come up with a solid solution.
LOL ... If I would have the spare time, then yes ...
Please try it yourself and share your experience here.
For Startup its looks g-drive mapping is alright as you mentioned above. I guess we can have uid of image in URL and use this way to get image if I understood properly.
a!imageField( label: "Image", labelPosition: "ABOVE", images: { a!webImage( source:"https://drive.google.com/uc?id=0B9o1MNFt5ld1N3k1cm9tVnZxQjg", ) }, size: "MEDIUM", isThumbnail: false, style: "STANDARD" )
i want to keep my files private
Mohan Reddy Kethireddigari said:i want to keep my files private
I'm unclear why that's relevant here...
if the image in google drive is private and the drive account is already signed out, then a!webimage couldn't be able to get that image from google drive. right?
Appian is loading that image in the browser. So your user needs to be logged in to Google drive to see any image.
But I do not want to ask the user to sign in to his google account before using the Appian application.
I don't think this is the only way to do it.