Skip to main content

Hi,

 

we use Pickers in our SmartForms Views with ADService as the Data Source.

We are finding that for the Edit forms in SharePoint that the data does not get loaded on Initialise.

 

What happens is the Form is initializing and it shows the user in the Picker field but it disappears after a couple of seconds.

 

Why does this happen?

 

What is the recommended way to configure Pickers using the ADService to load data from a People Picker field in SharePoint when the form loads?

 

Thanks,

Sam

This might be a silly question but are you absolutely certain there isn't another rule on your form causing it to blank after that initialize populated it correctly?  That'd be the first thing I'd look at.


Hi,

 

When the view initialize method is called

If parameter ID has been specified

Execute method GetListItemByID

Output mapping:

Picker Field: SharePoint People Picker (Value) - As seen in the List Item from the smart object tester

There is nothing else in the Initialize method to affect this.

 

There is another rule

When Picker is resolving

asyncronmously populate Picker list control with data

 

That is all of the configuration that is relevant.

 

Thanks,

Sam


I did have the same issue in some Forms, and open a ticket with K2 Support... they suggest to uncheck the Resolving Rules when the View Initialized.

 

However I ended creating 2 Views / RW and RO... in the RO changed the Control to a Text Field and that worked.

 

Not sure why sometimes takes forever to populate ....strange.... 

 

Dino.


Reply