Issues with managing forms

25 views
Skip to first unread message

Robert Lee

unread,
Jun 19, 2025, 9:01:51 AM6/19/25
to GAM for Google Workspace
Hello.

I'm trying to automate setting up a new form, and I've hit some snags.

I can't see anything to change the Responders of the form in the API to allow anyone with the link to respond (the default is anyone within the organisation). Is that something that can be set programmatically (perhaps file sharing options of some sort)? A pointer would be very welcome here.

There's an API call setPublishSettings, but I can't see a GAM call for it. Is there a GAM option for this endpoint? https://developers.google.com/workspace/forms/api/reference/rest/v1/forms/setPublishSettings

As an aside, I also had issues yesterday using gam ... show fileinfo ... returnidonly with the form URL to get the form ID: the form's reply URL was of the form "d/e/<id>" and it was giving the form ID as "e", which obviously didn't work. I can't replicate it today; it may have been form or URL-specific. That's no longer an issue for me because I'm capturing the ID when creating the form, but I thought it was odd.

Any help gratefully appreciated.

Warm regards,

Robert.

Ross Scroggs

unread,
Jun 19, 2025, 12:43:53 PM6/19/25
to google-ap...@googlegroups.com
This is now avaulable in 7.10.01

gam <UserTypeEntity> create form

        title <String> [description <String>] [isquiz [<Boolean>]] [<JSONData>]

        [ispublished [<Boolean>] isacceptingresponses [<Boolean>]]

        [drivefilename <DriveFileName>] [<DriveFileParentAttribute>]

        [(csv [todrive <ToDriveAttribute>*]) | returnidonly]

gam <UserTypeEntity> update form <DriveFileEntity>

[title <String>] [description <String>] [isquiz [<Boolean>]] [<JSONData>]

        [ispublished [<Boolean>] isacceptingresponses [<Boolean>]]



Ross
----
Ross Scroggs



--
You received this message because you are subscribed to the Google Groups "GAM for Google Workspace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-apps-man...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-apps-manager/ab0acd3f-0154-4e3c-bcd0-db20e479030bn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages