Page 1 of 1

Setting value to the HOA field in Property

Posted: Wed Aug 09, 2023 2:23 pm
by saraponnus
Hi,
How to assign values to the HOA field in the property? If there is only one HOA contact, it is automatically selected however if there are more records then how to select and assign it to this field?
HOA_SPS.JPG
HOA_SPS.JPG (25.22 KiB) Viewed 2971 times

Regards,
Saravanan

Re: Setting value to the HOA field in Property

Posted: Wed Aug 09, 2023 4:51 pm
by vmrvichin
If I'm understanding what you are asking, you are trying to pick one of those values via a Custom Order rule and have it assigned to that dropdown right?. If so, you can do that via a Custom Order Rule's Value Aspect with the following signature

Code: Select all

Property_HOA_Value(args) 
and setting the args.Value parameter to the specific HOA contact from the Order's list of HOAs Contacts you want to assign to that field.

Re: Setting value to the HOA field in Property

Posted: Thu Aug 10, 2023 10:27 am
by saraponnus
Hi Vlad Mrvichin,

Thank you for your response. I couldn't find any documentation for this function. Is this method defined under any object? If you could provide a code snippet of how this can be used, that will be great.

If I'm understanding what you are asking, you are trying to pick one of those values via a Custom Order rule and have it assigned to that dropdown right?. - Yes, this is correct.

Regards,
Saravanan

Re: Setting value to the HOA field in Property

Posted: Thu Aug 10, 2023 1:00 pm
by vmrvichin
That method signature follows the standard Custom Order Rule convention of <Context>_<Field>_<Aspect> as outlined in the 'How-To -> Custom Order Rules' section of the Select SDK help file.

There are a number of example Custom Order rules both in that help file, and on this forum. We are unable to write complete custom order rules for developers in this forum. The purpose of the forum is to provide guidance, best practices, and techniques to interact with Select.

If you have a questions about why your specific code is not working as intended as you develop it, please provide your specific code along with information as to why it's not working the way you think it should. If you need SoftPro to develop custom CORs for your organization, please contact your SoftPro customer service representative for design services.