Nextcloud (please complete the following information):
- Nextcloud-Version: 31.0.9
- Forms-Version: 5.1.2
Is your feature request related to a problem? Please describe.
For [reasons] I'm rendering a list of forms available via public share on some external site. If the forms has an embeddable link, I'd like to directly embed it so that the users don't have to switch to NC.
Describe the solution you'd like
I'm already using the API_v3 to fetch the info about the forms. It would be nice if the data structures already include info on whether a link is embeddable or not.
Describe alternatives you've considered
Somehow detect with JS if the iframe was loaded and hide it if not. That's a rather dirty hack though IMHO 😅
Additional context
It actually already worked at some point. The code that I wrote ~1 year ago for the rendering of the external site thinks that there is a Permission "embed". I don't know where I got that info from back then, but I do reckall that it worked form one form while I was testing it. So either it was just not documented, or it was removed later. Though it would make more sense to provide that info as part of the Share object … BTW I really enjoy that there is a well-documented API, shout out for that!
Nextcloud (please complete the following information):
Is your feature request related to a problem? Please describe.
For [reasons] I'm rendering a list of forms available via public share on some external site. If the forms has an embeddable link, I'd like to directly embed it so that the users don't have to switch to NC.
Describe the solution you'd like
I'm already using the API_v3 to fetch the info about the forms. It would be nice if the data structures already include info on whether a link is embeddable or not.
Describe alternatives you've considered
Somehow detect with JS if the iframe was loaded and hide it if not. That's a rather dirty hack though IMHO 😅
Additional context
It actually already worked at some point. The code that I wrote ~1 year ago for the rendering of the external site thinks that there is a
Permission"embed". I don't know where I got that info from back then, but I do reckall that it worked form one form while I was testing it. So either it was just not documented, or it was removed later. Though it would make more sense to provide that info as part of theShareobject … BTW I really enjoy that there is a well-documented API, shout out for that!