In reply to: Martin Meze (Freelancer)
I didn't actually test this in Designer Studio, but you should be able to make it work.
1. Get the content of the email in a multiple lines of text field.
2. Grab the whole table from HTML using a business rule (BR1). Inside it place a SQL command and do something like SUBSTRING where the starting position is "" and ending position is "".
3. Create another business rule (BR2), again with SQL command and use the query I posted above. When declaring @xml = "BR1".
4. Use BR2 for item list initialization.
Try if that works. If it doesn't, can you paste the whole email HTML here and I can have a look at it?
Hi Martin,
I really new when it comes to those advanced queries, i've searched online for the substring and found an example:
SELECT SUBSTRING(REPLACE(col,'By ',''),0,CHARINDEX('<',REPLACE(col,'By ','')))
FROM (VALUES
('By Dr. Mercola In an interview with ElectromagneticHealth.org'),
('By Barbara Loe Fisher Here we are in the winter of 2015, and '),
('By Gary Ruskin Co-Founder and Executive Director, U.S. Right to Know U.S. Right to Know')
) as t (col)
Do you mean something like this?
Sorry to bother you with this but I'm with some doubts!
Thanks!