I want to Extract customer number i.e. 1-000000-001804-0
from the below code.
When I do Extract String for this field, the script is being failed while validating saying that 'Customer number' left pattern not found.
Can you please help me that why couldn't I extract value whichever i want from the code.
The customer number mentioned in above is occurring nearly 3 to 4times with different names like Event.customernumber, thumbnail.customer numbrer, pagestate. customer number.
So I am getting error message 'Left pattern' is not found or 'Right pattern is not found. Is there any option to capture that value.
You should be able to extend the left boundry to include the unique part of the name (Event., thumbnail., etc.). If the left pattern is unique, the right hardly matters, it can be one character.
But more importantly, if it is the same value for each parameter, you only need to extact it once into a variable, then use that for each instance.
For fun, you should convert this with Visual Navigator disabled. Most of these type forms are parameterized automtatically with the "older style" c scripts with DO_GetFormActionStatement() and DO_GetFormValueByName()... I sure wish this wonderful feature was part of the Visual Navigator scripts. Worse yet, they're planning to get rid of the c scripts for WWW. [img]/images/graemlins/frown.gif[/img] We all need to open a ticket to complain about that!!
A problem is a difference between what is perceived and what is desired, that
we want to reduce (Dewey 1933)
Thank you for all the help provided.
I am able to captue customer number.
But one more help is required.
1. How to handle dynamic value getting from the server.
ex: One customer may have more than one telephonenumbers.
If we click customer id, the available telephone numbers will be displayed. One customer may have 2 telephone and another may have 3 telephone numbers. If we click telephone number, then available products will be displayed for that telephonenumber. How will we handle these dynamic values.