Watson Marketing Ideas

Submit new product ideas for Campaign, Interact, Marketing Operations, Marketing Platform, Campaign Managed Hosted, interact Managed Hosted, Marketing Operations Managed Hosted, Digital Analytics, Tealeaf, Universal Behavior Exchange, Watson Customer Experience Analytics, Watson Marketing Insights, Watson Content Hub, Web Content Manager and WebSphere Portal solutions. Before you submit, please review existing ideas; if an idea close to yours already exists, it's better to add comments or vote on the existing idea. We will review your ideas and use them to help prioritize our product development. Best of all, the portal will automatically update you when the status of your idea has been changed.

Connect with your peers and IBM experts on the Watson Marketing and Commerce Community

Submit ideas for other Watson Customer Engagement Products:

•  Watson Campaign Automation
Watson Commerce
Watson Supply Chain

To be able to get the dynamically generated CSS

To be able to get the dynamically generated CSS we would need to be able to call Pega’s packaging code with enough information that it thinks it is the same device and portal. The first part should be fairly easy. We would need to be able to pass the same UserAgent string and other associated headers from the original request. So the first pass of the requirement should be that we are able to rewrite a URL capture in TeaLeaf to a different URL and be able to selectively include headers from the original request (by virtue we might also want to exclude others like session IDs). The second part is potentially a little more hacky. We need some way to inject the name of the portal into the URL, so possibly the easiest generic way for them to achieve this would be a way to record arbitrary session variable that we could name and set values of which apply to the whole session. So for arguments sake the provide TeaLeaf.setSessionVariable(‘portalName’, ‘myPortal’). This way we could capture the portal name  or anything else useful for replaying the session or anything that came to mind (It is a bit of a get out of jail free card). Then in their URL rewriting rules they let you say user a regexp to extract data from the existing URL but also let you include  symbolics like say match /(w+)\.css.*/ then when we write our uURLwe could say https://mywebservice.com/\1.css?portal={session.portalName} this would be rewritten as https://mywebservice.com/cssfilename.css?portal=valueOfPortalName.


I think with both of those in place it would be easy for us to create a web service that could generate the same CSS (not to trivialize it as we still have a little work in writing the web service).

  • Avatar32.5fb70cce7410889e661286fd7f1897de Guest
  • May 29 2018
  • Under Consideration
How will this idea be used?

Use for Pega mobile application user experience management.

What is your industry? Automotive
What is the idea priority? Urgent
DeveloperWorks ID
Link to original RFE
  • Attach files
  • Admin
    PRESTON HARRIS commented
    11 Feb 00:02

    Thanks or the Idea!  There are a couple of frameworks in the wild that are utilizing Dynamic CSS updates after the stylesheet has already been loaded.  We are currently looking into the feasibility of developing support for this technology.