header

Product Limitation

  • 25 February 2020
  • 2 replies
  • 65 views

Userlevel 6
Badge

Hey Team,

 

Issue: Text Event Rule feature does not work

Query:
Customer wanted Text Event Rule feature (Event Text Rule as Feature) to detect different elements with the same identifier and different HTML text.

Analysis Done:

With the existing design, we are unable to achieve this use case.

1. We have a way to track using class name and nth-child --- but the blocker for this is the items list are not consistent across all the users.

2. We have a way to track them by using the class name -- but the blocker is a unique class name across the elements.

3. Suggested to have the Id's append to the HTML -- Blocker as
Unfortunately, the application is a 3rd party application so we cannot modify the code.

4. Using the custom Events: Blocker as
Unfortunately, the application is a 3rd party application so we cannot modify the code.


2 replies

Userlevel 6
Badge

@angelo 

Userlevel 3

PX allows you to use the full power of CSS Selector Query Language: https://www.w3schools.com/cssref/css_selectors.asp

...including the very powerful “path selectors” options that allow you to use wildcards, etc.

------------

If the target html/css element(s) do not have standard/robust element identification/classification (id’s, classes, data tags, etc), then yes, not having access and/or the ability to influence the target HTML/CSS will pose a challenge.

Asking PX to scrape text can surface brittle/inconsistent results and is not recommended.

 

Reply