Hello, is it possible to remove the additional information not included in the custom message, ie "(1x on page 1)"
Pitstop Pro error messages
Re: Pitstop Pro error messages
Not directly I think. You could probably achieve this by using some JavaScript code (if using JSON reports) or an XPath expression (if using XML reports).
- tdeschampsBluewest
- Member
- Posts: 127
- Joined: Tue Jun 01, 2021 11:57 am
Re: Pitstop Pro error messages
Hi,
You could also use string-replace app, working on the dataset (XML, or JSON) looking to replace following regex by whitespace
You could also use string-replace app, working on the dataset (XML, or JSON) looking to replace following regex by whitespace
Code: Select all
\s\(\d+x on page \d+\)=
Do you like the Enfocus Apps developed by Bluewest?
Feel free to leave a comment on the Appstore!
Feel free to leave a comment on the Appstore!
Re: Pitstop Pro error messages
thank you for thistdeschampsBluewest wrote: ↑Tue Sep 24, 2024 11:54 am Hi,
You could also use string-replace app, working on the dataset (XML, or JSON) looking to replace following regex by whitespace
Code: Select all
\s\(\d+x on page \d+\)=
Re: Pitstop Pro error messages
May I suggest a more agnostic formula?
\s?\([^\)]+\)$
Hence, selecting everything between 2 parenthesis, except closing parenthesis, then closing parenthesis, at the end of the string?
There you would also extend to localised reports (to the exception of chinese/japanese probably)
\s?\([^\)]+\)$
Hence, selecting everything between 2 parenthesis, except closing parenthesis, then closing parenthesis, at the end of the string?
There you would also extend to localised reports (to the exception of chinese/japanese probably)
Loïc Aigon
Enfocus PitStop Manager
Enfocus PitStop Manager
Re: Pitstop Pro error messages
thank you Loic, I shall speak to our online shop provider and give them this information and see if they can do anything server side