IMPORTANT ANNOUNCEMENT

These forums were permanently set to read-only mode on July 20, 2022. From that day onwards, no new posting or comment is allowed on the site, but the historical content remains intact and searchable.

A new location for posting questions about PlanetPress Suite is now available:

OL Learn - PlanetPress Classic (opens in new tab)

Topic Options
#44993 - 09/23/13 10:17 PM How can I call dynamic DIrect Smile template
Wai Mark Offline
OL Newbie

Registered: 08/13/13
Posts: 2
Hi Webmaster,

Would you please advise how can I call dynamic DIrect Smile template in PrintShopMail,

said,

I have a data file:-
record 1 = "Set001" ; record 2 = "Set006"
can PrintShopMail call DIrect Smile template according from the data file??

Top
#45015 - 09/26/13 12:33 PM Re: How can I call dynamic DIrect Smile template [Re: Wai Mark]
Raphael Lalonde Lefebvre Offline
OL Expert

Registered: 10/14/05
Posts: 4956
Loc: Objectif Lune Montreal
Wai,

Unfortunately, you cannot dynamically change the image set used by a DirectSmile object.

You could, of course, create multiple layouts, each with a different DirectSmile set, and put conditions on the layouts so that it chooses the correct layout for every records. This will work well if you have a small amount of sets available, and it's always alternating between them.

However, if you have thousands of sets, then obviously this isn't a very good approach due to the amount of layouts that would need to be created and maintained. If that's your case, then unfortunately, there may not be much we can do.

Regards,
Raphaël Lalonde Lefebvre

Top