• C@rlito
  • NEWBIE
  • 10 Points
  • Member since 2018

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
Hello All, 

I am working on Social Share buttons to share a piece of an email via a share web page. I came across a few issues:
Using the WYSIWYG Editor allows me to share content but after setting it up and switching to the HTML editor, I can't preview the whole code (where I could see the reference to the selected CSS file...). I prefer using the HTML editor but I need to use my custom CSS file(store in Portfolio>Styles>default_styles.css) and I can't make it work via the csskey property - I don't know how to reference it.

Can you help me with the CSS reference? The csskey:"default_styles" does not work. Neither does the full path csskey:"Portfolio Styles default_styles". Here is a sample sample code:
<!-- RegionStart[ contentslot:"Shared%20content%20region%201",
title:"This is a brief text that appear in the social media app and as a page title",
description:"",
csskey:"default_styles"] -->

[my HTML and the below links to Share buttons]

<!-- Creates a link to share this content with twitter -->
<a href="%%=GetSocialPublishURL('11','Shared content region 1')=%%" alias='Social Forward to Twitter' title='Tweet this'>
<img src='http://image.herbalifemail.com/lib/fe6915707666017e7d14/m/1/Twitter_tweet_80px.jpg' alt='Twitter' title='Twitter' border='0'></a>

<!-- RegionEnd[contentslot:"Shared%20content%20region%201"] -->
Here is documentation I refer to while working on this:
  • WYSIWYG Editor: https://help.salesforce.com/articleView?id=mc_es_share_content_area_editor.htm&type=5
  • HTML Editor https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-programmatic-content.meta/mc-programmatic-content/GetSocialPublishURLByName.htm
  • My CSS is built accordingly, but I dont know how to reference it: https://help.salesforce.com/articleView?id=mc_es_portfolio_css_files_for_social_forward.htm&type=5

Thanks in advance
I have a master Data Extension and need to segment it for 30+ countries. The DE has a column Country with country codes. I would like to create filters and resulting Data Extensions using...an automated way. I thought I could use ServerSide JavaScript (as this is the only programming language I am comfortable with). I hope to complete it using a loop and for example an object with Country: CountryCode value pairs. I'd rather not use anything more complex (such as REST API, SOAP, etc) but a Script activity. Can someone help me get started with examples? (I found documentation so I would appreciate some code samples). Thank you in advance!
I have a master Data Extension and need to segment it for 30+ countries. The DE has a column Country with country codes. I would like to create filters and resulting Data Extensions using...an automated way. I thought I could use ServerSide JavaScript (as this is the only programming language I am comfortable with). I hope to complete it using a loop and for example an object with Country: CountryCode value pairs. I'd rather not use anything more complex (such as REST API, SOAP, etc) but a Script activity. Can someone help me get started with examples? (I found documentation so I would appreciate some code samples). Thank you in advance!