You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was just wondering if there is any way to relax/bypass field validation when publishing an entry using client.entry.publish(...)?
The App SDK has a skipUiValidation prop that can be set to true in the options object when running entry.publish(options): Promise<void> in order to bypass validation. I'm looking for something similar.
Also,
I was wondering why I need to pass in the entry itself to the function. Why isn't the entryId enough?
awaitclient.entry.publish({spaceId: '<space_id>',environmentId: '<environment_id>',entryId: '<entry_id>',},{ ...entry}//Why does it need this?);
Thank you!
The text was updated successfully, but these errors were encountered:
Hi,
I was just wondering if there is any way to relax/bypass field validation when publishing an entry using client.entry.publish(...)?
The App SDK has a
skipUiValidation
prop that can be set to true in the options object when runningentry.publish(options): Promise<void>
in order to bypass validation. I'm looking for something similar.Also,
I was wondering why I need to pass in the entry itself to the function. Why isn't the
entryId
enough?Thank you!
The text was updated successfully, but these errors were encountered: