Vous êtes sur la page 1sur 3

How to: Publish promotion campaigns to Facebook and Twitter

Further reading
Microsoft Dynamics AX 2012 for Developers [AX 2012] (USA) Setting up and maintaining Sites Services for Microsoft Dynamics ERP

Tutorial
AX Retail allows the marketing manager to publish retail promotion campaigns to Facebook and Twitter. Note that this feature is only available in the US market and you need to request the permission for early access.

Setup Facebook and Twitter apps


You can have your partner create the Facebook and Twitter apps for you, or you can create yourself.

Create Facebook app


Go to the Facebook developers site (log in if you're not already logged in). Choose the Create New App button, and then follow the prompts to name and create the new application. Choose the Save Changes button. On the apps landing page, choose the application you created. Copy the App ID for your application and paste them into a temporary text file. You will later enter this value to the AX. Click Edit App. On the Settings > Advanced tab, scroll to Migrations > Remove offline_access permission, make sure it is set to Enabled if not already. Exit the Facebook developer site.

Create Twitter app


Browse to the Twitter developers site. Choose the Create an App link and then log into the site. On the Create an Application form, fill in the Name and Description fields. In the WebSite field, enter the URL of your site (for example, http://www.example.com). In the Callback URL field, enter a URL for the page in your website that you want users to return to after logging into Twitter. Accept the terms and choose the Create your Twitter application button. On the My Applications landing page, choose the application you created. On the Setting tab, scroll to Application Type > Access, choose Read and Write, and click Update this Twitter applications settings.

On the Details tab, scroll to the bottom and choose the Create My Access Token button. On the Details tab, copy the Consumer Key and Consumer Secret values for your application and paste them into a temporary text file. You will later enter these values to the AX. Exit the Twitter site.

Configure AX with the Facebook and Twitter app settings


1. 2. 3. 4. Launch AX client. Open Retail/Setup/Parameters/Retail shared parameters. Select Facebook tab, enter the Facebook App ID. Select Twitter tab, enter the Twitter consumer key and consumer secret.

Set up Sites service


See (USA) Set up and maintain a Sites Services account.

Activate Sites solution and link Facebook and Twitter accounts


1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. Launch the AX client. Open Organization administration/Setup/Sites Services/Available solutions Select Advertise retail promotions on Facebook and Twitter, click Activate. The info log has a warning asking the user to link Facebook or Twitter account. Select the warning, click Media types. Alternatively, you can directly open Sales and marketing/Setup/Campaigns/Media types. Select Facebook media type, click Link account. Sign in with a Facebook account. Click Go to App. Read the requested permissions and click Allow to accept. The info log says success. Click Parameters, select a Facebook page. Click Open in browser. You will see your Facebook page. Select Twitter media type, click Link account. Sign in with a Twitter account. The info log says success. Click Open in browser. You will see your Twitter page.

Add discounts to campaigns


1. Go CEU/Sales and marketing/Area page/Common/My campaigns 2. Create a new campaign. a. Enter Name, Description. b. Attach an image and set Restriction to External (optional). 3. Click general tab. 4. Click Media, add Facebook, Twitter. 5. Click Discounts. 6. Add an effective and enabled discount. 7. Add Medias: Facebook, Twitter.

8. Note down the barcodes.

Publish campaigns to Facebook and Twitter


1. 2. 3. 4. 5. 6. 7. 8. 9. Open CEU/Sales and marketing/Common/My campaigns. Select the campaign created above. Select General tab, click Publish. Check Publish to Sites checkbox. Open CEU/Organization administration/Setup/Sites Services/Available solutions. Select Advertise retail promotions on Facebook and Twitter solution, click Synchronize. Go back to the publish form, click Refresh. Select the page and click Open in browser. You should see a coupon page hosted by Sites Service with a. Campaign description and image. b. Discount image, description and disclaimer c. Barcode and image Select Facebook media type, enter message, subtitle, select a promotion page, and click Publish. Refresh your Facebook page opened earlier in the browser, and you will see a new post. Click the link in the post, and you will see the coupon page. Select Twitter media type, enter message, select a promotion page, and click Publish. Refresh your Twitter page opened earlier in the browser, and you will see a new tweet. Click the link in the tweet, and you will see the coupon page.

10. 11. 12. 13. 14. 15.

Vous aimerez peut-être aussi