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?
Regards,
Saravanan
Setting value to the HOA field in Property
-
- Posts: 5
- Joined: Wed Aug 09, 2023 12:26 pm
Re: Setting value to the HOA field in Property
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
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.
Code: Select all
Property_HOA_Value(args)
Vlad Mrvichin, Senior Software Developer, Custom Dev, SoftPro
-
- Posts: 5
- Joined: Wed Aug 09, 2023 12:26 pm
Re: Setting value to the HOA field in Property
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
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
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.
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.
Vlad Mrvichin, Senior Software Developer, Custom Dev, SoftPro