ruby-samples icon indicating copy to clipboard operation
ruby-samples copied to clipboard

How to get page_id for creating slides

Open acharyaks90 opened this issue 5 years ago • 0 comments

Expected Behavior

Actual Behavior

Steps to Reproduce the Problem

presentation_id = "1lMmb9kr1VGLe-GNtIAQGEYOH_gNWXceM5VFOIEDDTkM" presentation = service.get_presentation presentation_id

def create_slide(presentation_id, page_id) # [START slides_create_slide] body = Google::Apis::SlidesV1::Presentation.new requests = [{ create_slide: { # object_id_prop: page_id, insertion_index: '1', slide_layout_reference: { predefined_layout: 'TITLE_AND_TWO_COLUMNS' } } }]

Specifications

  • Ruby version (ruby -v).
  • OS (Mac/Linux/Windows)

How to get page_id for above

acharyaks90 avatar Sep 29 '20 06:09 acharyaks90