cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic entry list results in error of WS - SP05

Former Member
0 Kudos

Hi,

After defining dynamic entry list, the runtime VC gets real slow in displaying the model and also results in error at startup (step 1)-"Web Service - Error in Connection contact your administrator ". Which I think is logical to give error, since it doesn't have the value, which only gets filled after certain steps. Also note that, this dynamic entry list is defined somewhere in step 3 (for e.g:. in 3rd input screen)

Any ideas?

Best regards,

Dharmi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

One way to solve this would be to use default values that will initialize the dropdown when the application starts.

Let’s say that the default value for companyId is “SAP” and the default value for relId is “Visual Composer”.

In the configure parameter window of the Entry List Wizard, enter the following expression for CompanyId:

IF(ISNULL([user data]@department), “SAP”, [user data]@department) 

The meaning of this expression is if department field is null, set value to “SAP” otherwise use the value of department field.

In the expression for RelId, enter

IF(ISNULL(@RelId), “Visual composer”, RelId) 

That way the dropdown will be initialized with some default data and the application will not generate errors.

Regards,

Shai

Former Member
0 Kudos

Hi Shai,

Thank you very much it works.

Can you also tell me, if it is possible to display "-select contact-" ? I tried to put in additional entries - Value = 0 and Text as '-select contact-', I see that only on clicking for the dropdown, but I would like to see it before clicking!

Best regards,

Dharmi

Former Member
0 Kudos

Hi Shai,

Problem of error is solved, but if the same Quotation design is called when modifying record, it doesn't display the contact!

Hereby the screenshot to explain:

[Quotation - Modify record |http://img339.imageshack.us/img339/3198/quotationmodifycs0.jpg] - without dynamic entry list

[Quotation - Modify with dynamic entry list|http://img521.imageshack.us/img521/2020/quotationmodiyzf9.jpg]

Does the dynamic entry list not work if the data is already present, is there no way of validating it?

Best regards,

Dharmi

p.s. Sorry earlier both links were alike, so probably did not hear from you.Hoping to hear from you soon.

Edited by: Dharmi Tanna on Mar 25, 2008 1:23 PM

Former Member
0 Kudos

Hi Shai,

Any idea on this??

Best regards,

Dharmi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Dharmi,

Can you add some more information about your model?

Screen shots of the design and layout boards can be useful.

Thanks

Shai

Former Member
0 Kudos

Hi Shai,

Hereby the screenshots:

[Contact Entry List Wizard - Input|http://img410.imageshack.us/img410/4751/contactentrylistwizardms5.jpg]

[Contact Entry List Wizard - Output|http://img410.imageshack.us/img410/778/contactentrylistwizard1ql2.jpg]

[Quotation - Layout|http://img410.imageshack.us/img410/3998/quotation1ff6.jpg]

[Quotation - Design|http://img150.imageshack.us/img150/5165/quotationdesignst5.jpg]

[Runtime Error on Step 1|http://img410.imageshack.us/img410/2131/runtimeerrortv1.jpg]

There is no data selected at step 1 yet!

Hoping to hear from you soon.

Best regards,

Dharmi