I have 3 Fields on a Form (LineOfBusiness, Category, and Type). All three are Lookup Controls to Lists in a different site.
I have Category Defined as Depends on LineOfBusiness, and Type Depends on Category.
The fields work Great....until I do the following code:
fd.control('LineOfBusiness').value = 5;
The LineOfBusiness field populates as expected, however, the Category Field does not filter to the Categories for that Line of Business, There are no choices available. The field only populates with choices when I manually change the LineOfBusiness control.
@Margo
hello,
i have sharepoint 2019, i tried ti set lookup by:
fd.control('LineOfBusiness').value = {ID: 2, LookupId: 2}
it put value, but when i want to get extra fields it can't be done. how to refresh this lookup? or to apply value to get extra fields?
i want set by code a lookup value, and auto populate other fields with extra fields from lookup
@Margo
1.4.8 designer version.
i see that there is a new version. i must to update it in app catalog? will it affect to pervious our forms ? after update designer i must to publish all my forms ?
For example from manual:
--Separate forms are not generated anymore for every form set. A default form resolves the form set now.
i have many forms with different form sets, what will be with them after update ? i must recreate form?
In my experience, when upgrading (especially one of the more recent upgrades) I had to republish all of my forms and in the process had to check some of the form panel settings before I published.
Hi @Margo I have a lookup field that depends on a choice field. I am trying to set the default value of the lookup field but it remains blank. Any suggestions?