Ink Sketch not present on Display form if no ink

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
User avatar
smithme
Posts: 45
Joined: Wed Jul 26, 2017

15 Aug 2017

Requirement:

My form allows the user to add an attachment to a list item, that is then made into the background of an Ink Sketch for them to draw on it. This photo needs to show up in the Display and Edit forms.

Problem:

If the user attaches as photo but makes no notes on the photo (i.e. the didn't draw anything on the Ink Sketch control), when viewing the Display for the photo doesn't show up because the Ink Sketch control isn't rendered, because there is no ink (i.e. the memo field for the Ink Sketch control is null).

Help:

Can the Ink Sketch control be rendered in the Display form even if there is no value for the Ink Sketch control?
City of Nampa
Idaho
United States of America

User avatar
Nikita Kurguzov
Posts: 889
Joined: Mon Jul 03, 2017

16 Aug 2017

You can add Image control to the Form which would retrieve the same file and then create an if condition for when the Form opens. If it opens with empty value for the Ink Sketch, then display Image, else display Ink Sketch. Should be relatively easy to implement.

Alternatively, you can manually assing certain default value to the Ink Sketch, so it always displays, even if it looks empty.
Cheers

User avatar
smithme
Posts: 45
Joined: Wed Jul 26, 2017

16 Aug 2017

Nikita Kurguzov wrote:
16 Aug 2017
You can add Image control to the Form which would retrieve the same file and then create an if condition for when the Form opens. If it opens with empty value for the Ink Sketch, then display Image, else display Ink Sketch. Should be relatively easy to implement.

Alternatively, you can manually assing certain default value to the Ink Sketch, so it always displays, even if it looks empty.

Thank you.
City of Nampa
Idaho
United States of America

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 2 guests