Skip to main content
Solved

Adding a dynamic filter to LOV Custom Field in 23R1


Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

Hi All,

I added a persistent custom field to the entity CroHead as follows.

 

And then added it to ‘Component Repair Order’ page with below LOV filter.

 

But this does not filter ‘Cf Crm Contact’ using ‘Customer ID’ value. It’s ‘1000’ here. But it filters correctly if I change the filter as follows.

 

Is there a way to get this filtered dynamically using the ‘Customer’ value?

I went through previous community posts and F1 documentation as well but could not find a solution. It seems syntax has been changed in new cloud versions.

I checked with below syntax but still no luck.

contains(Cf_DisplayText, '$CUSTOMER_ID')
contains(Cf_DisplayText, '$[Customer_Id]')
contains(Cf_DisplayText, '$[CUSTOMER_ID]')
contains(Cf_DisplayText, '$[CustomerId]')

 

Thanks & Best Regards,

Randini

Best answer by Sandun Madola

Hi All,
 

This issue is not a bug in the application. It's important to understand that standard attributes and custom attributes have different capabilities. Custom attributes come with certain limitations as they are configuration-based.

The specific requirement mentioned here cannot be fulfilled using the page designer. There are several community links that demonstrate how to achieve this, but they are relevant to IFS Apps 10 and do not apply to the IFS Cloud track. The IFS product team recommends considering customization to achieve the desired outcome, and you can find detailed information in the IFS Documentation here:
Dynamically changing values.

You might wonder if this cannot be achieved using the page designer, then can we expect a fix in a future release?

The product development team has indicated that providing a definitive yes/no answer regarding whether this issue will be addressed in a future release is not feasible. Based on the existing design, it appears to be something that we are unable to achieve.
 

I hope this explanation clarifies the concern.

Thank you.
Kind regards,
Sandun Madola.

View original
Did this topic help you find an answer to your question?

18 replies

Forum|alt.badge.img+8
  • Hero (Employee)
  • 59 replies
  • August 7, 2023

Hi Randini.

I haven’t worked with this functionality just yet but I found an entry in the documentation that maybe can help:

https://docs.ifs.com/techdocs/23r1/040_tailoring/225_configuration/200_client_configurations/310_conditional_fields/100_conditional_lov/

Thank you much.
Best regards.
Gonzalo.

 


Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

Hi Gonzalo,

Thank you very much for the link.

However this example is not for passing a dynamic value. I’m looking for that scenario. Anyway thanks again for your input.


ChanakaAlahakoon
Do Gooder (Employee)
Forum|alt.badge.img+2

Hi, Here, the value accepts an OData filter syntax. So I think we need to query core framwork team to see if we can have substitutions here. Further, good place to start is trying to do exact same thing in developer studio with marble and see what we have in page designer.

@Nils Wendelöv Is there a way to set a column value dynamically to an Odata filter? I have tried few ways through page designer but couldn’t get any to work. Maybe we are not supporting such functionality yet?


Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

Thanks Chanaka. Yes I want to know whether we are supporting this functionality or not.


Franck.G
Sidekick (Employee)
Forum|alt.badge.img+8
  • Sidekick (Employee)
  • 62 replies
  • September 1, 2023

did you find the answer?


Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

Not yet Franck


Franck.G
Sidekick (Employee)
Forum|alt.badge.img+8
  • Sidekick (Employee)
  • 62 replies
  • September 1, 2023

I'm looking to do the same thing ... with custom fields 


Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

I’ll update the post if I get anything. Seems there is a high demand for this. Another person reached out to me asking whether I got a solution.


Franck.G
Sidekick (Employee)
Forum|alt.badge.img+8
  • Sidekick (Employee)
  • 62 replies
  • September 1, 2023

I don't know if the syntax of my fitre is correct 

 


Sandun Madola
Hero (Employee)
Forum|alt.badge.img+13
  • Hero (Employee)
  • 144 replies
  • Answer
  • September 2, 2023

Hi All,
 

This issue is not a bug in the application. It's important to understand that standard attributes and custom attributes have different capabilities. Custom attributes come with certain limitations as they are configuration-based.

The specific requirement mentioned here cannot be fulfilled using the page designer. There are several community links that demonstrate how to achieve this, but they are relevant to IFS Apps 10 and do not apply to the IFS Cloud track. The IFS product team recommends considering customization to achieve the desired outcome, and you can find detailed information in the IFS Documentation here:
Dynamically changing values.

You might wonder if this cannot be achieved using the page designer, then can we expect a fix in a future release?

The product development team has indicated that providing a definitive yes/no answer regarding whether this issue will be addressed in a future release is not feasible. Based on the existing design, it appears to be something that we are unable to achieve.
 

I hope this explanation clarifies the concern.

Thank you.
Kind regards,
Sandun Madola.


Randini Jayasundara
Superhero (Employee)
Forum|alt.badge.img+12

Thanks Sandun for the clarification


Forum|alt.badge.img+8
  • Sidekick (Partner)
  • 32 replies
  • February 15, 2024

In another post the recommendation was to use Datasource Aggregate Ref parameters to filter Custom LOV field.

https://community.ifs.com/22r2-general-questions-employee-partner-only-405/filtering-lov-in-a-custom-field-using-a-value-in-another-custom-field-34460

 


PhillBronson
Hero (Customer)
Forum|alt.badge.img+10
  • Hero (Customer)
  • 109 replies
  • August 6, 2024
Tuukka wrote:

In another post the recommendation was to use Datasource Aggregate Ref parameters to filter Custom LOV field.

https://community.ifs.com/22r2-general-questions-employee-partner-only-405/filtering-lov-in-a-custom-field-using-a-value-in-another-custom-field-34460

 

Is this information available for non-partners? The above link is restricted


Forum|alt.badge.img+8
  • Sidekick (Partner)
  • 32 replies
  • August 6, 2024
PhillBronson wrote:
Tuukka wrote:

In another post the recommendation was to use Datasource Aggregate Ref parameters to filter Custom LOV field.

https://community.ifs.com/22r2-general-questions-employee-partner-only-405/filtering-lov-in-a-custom-field-using-a-value-in-another-custom-field-34460

 

Is this information available for non-partners? The above link is restricted

Here is a Word document where I collected the answer from the other Community post. IFS employee Thisara was sharing a way to filter a custom field LOV.


dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 832 replies
  • August 15, 2024
Tuukka wrote:
PhillBronson wrote:
Tuukka wrote:

In another post the recommendation was to use Datasource Aggregate Ref parameters to filter Custom LOV field.

https://community.ifs.com/22r2-general-questions-employee-partner-only-405/filtering-lov-in-a-custom-field-using-a-value-in-another-custom-field-34460

 

Is this information available for non-partners? The above link is restricted

Here is a Word document where I collected the answer from the other Community post. IFS employee Thisara was sharing a way to filter a custom field LOV.

 

I was stuck with the same problem as @Randini Jayasundara and this post saved me :)

The best part is that it’s possible to use dynamic values from the page in Datasource Aggregate Refs 

In my scenario I used a reference entity from another LOV field and it also worked!

 

LOV query looks like this

Customer env: 23R1


NiyomalN
Hero (Partner)
Forum|alt.badge.img+10
  • Hero (Partner)
  • 102 replies
  • March 17, 2025
dsj wrote:
Tuukka wrote:
PhillBronson wrote:
Tuukka wrote:

In another post the recommendation was to use Datasource Aggregate Ref parameters to filter Custom LOV field.

https://community.ifs.com/22r2-general-questions-employee-partner-only-405/filtering-lov-in-a-custom-field-using-a-value-in-another-custom-field-34460

 

Is this information available for non-partners? The above link is restricted

Here is a Word document where I collected the answer from the other Community post. IFS employee Thisara was sharing a way to filter a custom field LOV.

 

I was stuck with the same problem as @Randini Jayasundara and this post saved me :)

The best part is that it’s possible to use dynamic values from the page in Datasource Aggregate Refs 

In my scenario I used a reference entity from another LOV field and it also worked!

 

LOV query looks like this

Customer env: 23R1

@dsj , can you please elaborate more on how you use this other Lov reference here ?

 

I’m trying to do a similar thing but my filtration doesn't work at the moment.

 

in my case, in the functional object window,  I have added two custom fields 

  1. to get the Object Level to Object Type entity (persistence reference field )
  2. persistence reference using the FND Boolean (Yes No toggle)

I did the data source aggregate ref for the 2nd field and it works perfectly fine, Object Types can be filtered based on the Boolean field. but when I add the second filter to further filter the select fields based on the object level, it doesn't work and the Object type LOV become empty in the functional object window.

environment 24R2 SU 3

Below are some screen pictures

 

No data coming  :(


 

 

 

in the [payload it seems the filter parameters are passing correctly, but the values are not filtering. i tried to add this as a string directly to see whether it works or not, even when i pass as a string it comes empty. 

 

Any lead  would be helpful.

 

thank you so much.

 

Kind Regards!

Niyo.


NiyomalN
Hero (Partner)
Forum|alt.badge.img+10
  • Hero (Partner)
  • 102 replies
  • March 18, 2025

@dsj Found the issue :)

 

Thank you :)


Forum|alt.badge.img

Hi, This suggested solution is working for me as well. Thanks 😊all.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings