XPM is not enabled in SDL Web 8

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
6
down vote

favorite
1












We are using SDL Web 8 and DXA 1.6.
When we go to CME -> Sites (from left navigation) and select any site that is supposed to show the website with XPM (i.e with blue pen icon at top right corner), it is not showing in my case.



Can any one please let me know what configuration I need to do here?



Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.










share|improve this question























  • Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    2 days ago










  • Can you confirm that the (Staging) CD Environment of both CMSes have a Preview Service Capability registered?
    – Rick Pannekoek
    yesterday














up vote
6
down vote

favorite
1












We are using SDL Web 8 and DXA 1.6.
When we go to CME -> Sites (from left navigation) and select any site that is supposed to show the website with XPM (i.e with blue pen icon at top right corner), it is not showing in my case.



Can any one please let me know what configuration I need to do here?



Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.










share|improve this question























  • Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    2 days ago










  • Can you confirm that the (Staging) CD Environment of both CMSes have a Preview Service Capability registered?
    – Rick Pannekoek
    yesterday












up vote
6
down vote

favorite
1









up vote
6
down vote

favorite
1






1





We are using SDL Web 8 and DXA 1.6.
When we go to CME -> Sites (from left navigation) and select any site that is supposed to show the website with XPM (i.e with blue pen icon at top right corner), it is not showing in my case.



Can any one please let me know what configuration I need to do here?



Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.










share|improve this question















We are using SDL Web 8 and DXA 1.6.
When we go to CME -> Sites (from left navigation) and select any site that is supposed to show the website with XPM (i.e with blue pen icon at top right corner), it is not showing in my case.



Can any one please let me know what configuration I need to do here?



Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.







dxa experience-manager dxa-1.6






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 2 days ago

























asked Nov 23 at 11:09









user2803

312




312











  • Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    2 days ago










  • Can you confirm that the (Staging) CD Environment of both CMSes have a Preview Service Capability registered?
    – Rick Pannekoek
    yesterday
















  • Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    2 days ago










  • Can you confirm that the (Staging) CD Environment of both CMSes have a Preview Service Capability registered?
    – Rick Pannekoek
    yesterday















Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
– user2803
2 days ago




Adding more info: We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
– user2803
2 days ago












Can you confirm that the (Staging) CD Environment of both CMSes have a Preview Service Capability registered?
– Rick Pannekoek
yesterday




Can you confirm that the (Staging) CD Environment of both CMSes have a Preview Service Capability registered?
– Rick Pannekoek
yesterday










3 Answers
3






active

oldest

votes

















up vote
1
down vote













As Nick says, there could be lots of reasons why the XPM icon is not showing.



If it were me, then I'd start by checking whether the Page Settings HTML comment and the XPM (a.k.a. SiteEdit) JavaScript tag appears in the source of the published page. For example:



<!-- Page Settings: "PageID":"tcm:9-259-64","PageModified":"2016-08-04T14:43:31","PageTemplateID":"tcm:9-264-128","PageTemplateModified":"2016-10-18T12:37:03" -->
<script src="http://[CMEURL]/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" id="tridion.siteedit">



If they are present, then you may want to check the details (IDs, URLs, etc.) and the console tab in Chrome Developer Tools for any conflicting errors.



If they are not present then you'll need to investigate further. You may want to start by looking at Bart's answer here: https://tridion.stackexchange.com/a/15100/71



Adding some more details of what you've already looked at to the ticket would also help too.






share|improve this answer




















  • We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    Nov 26 at 12:16










  • @user2803 - That is useful information for anyone else looking to help. Can you add it to your original question too please?
    – Jonathan Williams
    Nov 26 at 12:31

















up vote
1
down vote













At the very basic surface, a Tridion system has 3 core nodes: CM, DXA Staging (Preview) web app, and DXA Live web app. XPM should be set up on the Staging web app, not the Live. So make sure you're hitting the Staging instance.



If the above doesn't solve your issue, as far as what configurations you need to make, there is more than a handful of them. So it's not a simple answer. You're going to have to get some technical training on this because there are a lot of concepts and moving parts that make it all happen. Start out by carefully studying the docs and trying things. Here is the chapter specific to XPM, but you'd need to already have a strong grasp of the other Tridion concepts and configs before diving into XPM configs: https://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-E7D54121-70A2-4FA6-A516-8ADB8E45AC13.






share|improve this answer






















  • The explanation of the 3 parts of the system and link to configuration help answer the question. If the offer for help is free (as in beer), just post them here otherwise a disclosure can help explain your affiliation per the Q&A model.
    – Alvin Reyes
    Nov 24 at 13:22

















up vote
1
down vote













Although there are indeed a lot of moving parts to XPM, it should actually be quite simple to get it to work with DXA, because it has built-in support for XPM.



As Nick mentioned, XPM is typically only enabled on “Staging” and DXA determines whether XPM should be enabled or not by checking whether the CD Environment has a Preview Service Capability (assuming you are using Topology Manager based publishing).



You can check the _all.json file in BinaryDataPubIDconfig to see whether it determined it is a “Staging” (XPM enabled) site or not.



If it is XPM enabled, you should automatically get XPM markup in your output if:



  • Your Page Views use @Html.DxaPageMarkup()

  • Your Entity Views use @Html.DxaEntityMarkup() and optionally @Html.DxaPropertyMarkup()

Note that these HTML helpers are not only used for XPM markup, but also for Semantic markup (RDFa), so it’s always a good idea to sprinkle your Views with this markup.






share|improve this answer




















  • yes we are using Topology Manager. Can you please tell me exact folder path of _all.json? And this file will be on CD server, right?
    – user2803
    2 days ago










  • The file should be on your “presentation server”, i.e. the server which hosts your DXA Web App. I already mentioned the path (which is relative to where your DXA Web App is deployed).
    – Rick Pannekoek
    2 days ago










  • It is not working. The DXA Web App is common for both sso and non-sso cms. I can only do xpm on sso enabled cms. But in non-sso cms xpm is not working. I want to enable it in non-sso cms as well.
    – user2803
    yesterday











  • A single DXA Web App for multiple CMSes? That's interesting... can you elaborate on your setup and what determines which CMS should be used?
    – Rick Pannekoek
    yesterday










Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "485"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftridion.stackexchange.com%2fquestions%2f19518%2fxpm-is-not-enabled-in-sdl-web-8%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























3 Answers
3






active

oldest

votes








3 Answers
3






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













As Nick says, there could be lots of reasons why the XPM icon is not showing.



If it were me, then I'd start by checking whether the Page Settings HTML comment and the XPM (a.k.a. SiteEdit) JavaScript tag appears in the source of the published page. For example:



<!-- Page Settings: "PageID":"tcm:9-259-64","PageModified":"2016-08-04T14:43:31","PageTemplateID":"tcm:9-264-128","PageTemplateModified":"2016-10-18T12:37:03" -->
<script src="http://[CMEURL]/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" id="tridion.siteedit">



If they are present, then you may want to check the details (IDs, URLs, etc.) and the console tab in Chrome Developer Tools for any conflicting errors.



If they are not present then you'll need to investigate further. You may want to start by looking at Bart's answer here: https://tridion.stackexchange.com/a/15100/71



Adding some more details of what you've already looked at to the ticket would also help too.






share|improve this answer




















  • We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    Nov 26 at 12:16










  • @user2803 - That is useful information for anyone else looking to help. Can you add it to your original question too please?
    – Jonathan Williams
    Nov 26 at 12:31














up vote
1
down vote













As Nick says, there could be lots of reasons why the XPM icon is not showing.



If it were me, then I'd start by checking whether the Page Settings HTML comment and the XPM (a.k.a. SiteEdit) JavaScript tag appears in the source of the published page. For example:



<!-- Page Settings: "PageID":"tcm:9-259-64","PageModified":"2016-08-04T14:43:31","PageTemplateID":"tcm:9-264-128","PageTemplateModified":"2016-10-18T12:37:03" -->
<script src="http://[CMEURL]/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" id="tridion.siteedit">



If they are present, then you may want to check the details (IDs, URLs, etc.) and the console tab in Chrome Developer Tools for any conflicting errors.



If they are not present then you'll need to investigate further. You may want to start by looking at Bart's answer here: https://tridion.stackexchange.com/a/15100/71



Adding some more details of what you've already looked at to the ticket would also help too.






share|improve this answer




















  • We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    Nov 26 at 12:16










  • @user2803 - That is useful information for anyone else looking to help. Can you add it to your original question too please?
    – Jonathan Williams
    Nov 26 at 12:31












up vote
1
down vote










up vote
1
down vote









As Nick says, there could be lots of reasons why the XPM icon is not showing.



If it were me, then I'd start by checking whether the Page Settings HTML comment and the XPM (a.k.a. SiteEdit) JavaScript tag appears in the source of the published page. For example:



<!-- Page Settings: "PageID":"tcm:9-259-64","PageModified":"2016-08-04T14:43:31","PageTemplateID":"tcm:9-264-128","PageTemplateModified":"2016-10-18T12:37:03" -->
<script src="http://[CMEURL]/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" id="tridion.siteedit">



If they are present, then you may want to check the details (IDs, URLs, etc.) and the console tab in Chrome Developer Tools for any conflicting errors.



If they are not present then you'll need to investigate further. You may want to start by looking at Bart's answer here: https://tridion.stackexchange.com/a/15100/71



Adding some more details of what you've already looked at to the ticket would also help too.






share|improve this answer












As Nick says, there could be lots of reasons why the XPM icon is not showing.



If it were me, then I'd start by checking whether the Page Settings HTML comment and the XPM (a.k.a. SiteEdit) JavaScript tag appears in the source of the published page. For example:



<!-- Page Settings: "PageID":"tcm:9-259-64","PageModified":"2016-08-04T14:43:31","PageTemplateID":"tcm:9-264-128","PageTemplateModified":"2016-10-18T12:37:03" -->
<script src="http://[CMEURL]/WebUI/Editors/SiteEdit/Views/Bootstrap/Bootstrap.aspx?mode=js" id="tridion.siteedit">



If they are present, then you may want to check the details (IDs, URLs, etc.) and the console tab in Chrome Developer Tools for any conflicting errors.



If they are not present then you'll need to investigate further. You may want to start by looking at Bart's answer here: https://tridion.stackexchange.com/a/15100/71



Adding some more details of what you've already looked at to the ticket would also help too.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 23 at 14:19









Jonathan Williams

12.5k1651




12.5k1651











  • We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    Nov 26 at 12:16










  • @user2803 - That is useful information for anyone else looking to help. Can you add it to your original question too please?
    – Jonathan Williams
    Nov 26 at 12:31
















  • We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
    – user2803
    Nov 26 at 12:16










  • @user2803 - That is useful information for anyone else looking to help. Can you add it to your original question too please?
    – Jonathan Williams
    Nov 26 at 12:31















We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
– user2803
Nov 26 at 12:16




We have two prod cms. One is SSO enabled other is non-sso. For sso enabled cms site edit is working ie when we go to CME -> Sites (from left navigation) and select any site it is showing the blue pen icon for site edit. But for non-sso that icon is not coming.
– user2803
Nov 26 at 12:16












@user2803 - That is useful information for anyone else looking to help. Can you add it to your original question too please?
– Jonathan Williams
Nov 26 at 12:31




@user2803 - That is useful information for anyone else looking to help. Can you add it to your original question too please?
– Jonathan Williams
Nov 26 at 12:31










up vote
1
down vote













At the very basic surface, a Tridion system has 3 core nodes: CM, DXA Staging (Preview) web app, and DXA Live web app. XPM should be set up on the Staging web app, not the Live. So make sure you're hitting the Staging instance.



If the above doesn't solve your issue, as far as what configurations you need to make, there is more than a handful of them. So it's not a simple answer. You're going to have to get some technical training on this because there are a lot of concepts and moving parts that make it all happen. Start out by carefully studying the docs and trying things. Here is the chapter specific to XPM, but you'd need to already have a strong grasp of the other Tridion concepts and configs before diving into XPM configs: https://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-E7D54121-70A2-4FA6-A516-8ADB8E45AC13.






share|improve this answer






















  • The explanation of the 3 parts of the system and link to configuration help answer the question. If the offer for help is free (as in beer), just post them here otherwise a disclosure can help explain your affiliation per the Q&A model.
    – Alvin Reyes
    Nov 24 at 13:22














up vote
1
down vote













At the very basic surface, a Tridion system has 3 core nodes: CM, DXA Staging (Preview) web app, and DXA Live web app. XPM should be set up on the Staging web app, not the Live. So make sure you're hitting the Staging instance.



If the above doesn't solve your issue, as far as what configurations you need to make, there is more than a handful of them. So it's not a simple answer. You're going to have to get some technical training on this because there are a lot of concepts and moving parts that make it all happen. Start out by carefully studying the docs and trying things. Here is the chapter specific to XPM, but you'd need to already have a strong grasp of the other Tridion concepts and configs before diving into XPM configs: https://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-E7D54121-70A2-4FA6-A516-8ADB8E45AC13.






share|improve this answer






















  • The explanation of the 3 parts of the system and link to configuration help answer the question. If the offer for help is free (as in beer), just post them here otherwise a disclosure can help explain your affiliation per the Q&A model.
    – Alvin Reyes
    Nov 24 at 13:22












up vote
1
down vote










up vote
1
down vote









At the very basic surface, a Tridion system has 3 core nodes: CM, DXA Staging (Preview) web app, and DXA Live web app. XPM should be set up on the Staging web app, not the Live. So make sure you're hitting the Staging instance.



If the above doesn't solve your issue, as far as what configurations you need to make, there is more than a handful of them. So it's not a simple answer. You're going to have to get some technical training on this because there are a lot of concepts and moving parts that make it all happen. Start out by carefully studying the docs and trying things. Here is the chapter specific to XPM, but you'd need to already have a strong grasp of the other Tridion concepts and configs before diving into XPM configs: https://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-E7D54121-70A2-4FA6-A516-8ADB8E45AC13.






share|improve this answer














At the very basic surface, a Tridion system has 3 core nodes: CM, DXA Staging (Preview) web app, and DXA Live web app. XPM should be set up on the Staging web app, not the Live. So make sure you're hitting the Staging instance.



If the above doesn't solve your issue, as far as what configurations you need to make, there is more than a handful of them. So it's not a simple answer. You're going to have to get some technical training on this because there are a lot of concepts and moving parts that make it all happen. Start out by carefully studying the docs and trying things. Here is the chapter specific to XPM, but you'd need to already have a strong grasp of the other Tridion concepts and configs before diving into XPM configs: https://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-E7D54121-70A2-4FA6-A516-8ADB8E45AC13.







share|improve this answer














share|improve this answer



share|improve this answer








edited Nov 24 at 17:54

























answered Nov 23 at 12:05









Nickoli Roussakov

16.3k42460




16.3k42460











  • The explanation of the 3 parts of the system and link to configuration help answer the question. If the offer for help is free (as in beer), just post them here otherwise a disclosure can help explain your affiliation per the Q&A model.
    – Alvin Reyes
    Nov 24 at 13:22
















  • The explanation of the 3 parts of the system and link to configuration help answer the question. If the offer for help is free (as in beer), just post them here otherwise a disclosure can help explain your affiliation per the Q&A model.
    – Alvin Reyes
    Nov 24 at 13:22















The explanation of the 3 parts of the system and link to configuration help answer the question. If the offer for help is free (as in beer), just post them here otherwise a disclosure can help explain your affiliation per the Q&A model.
– Alvin Reyes
Nov 24 at 13:22




The explanation of the 3 parts of the system and link to configuration help answer the question. If the offer for help is free (as in beer), just post them here otherwise a disclosure can help explain your affiliation per the Q&A model.
– Alvin Reyes
Nov 24 at 13:22










up vote
1
down vote













Although there are indeed a lot of moving parts to XPM, it should actually be quite simple to get it to work with DXA, because it has built-in support for XPM.



As Nick mentioned, XPM is typically only enabled on “Staging” and DXA determines whether XPM should be enabled or not by checking whether the CD Environment has a Preview Service Capability (assuming you are using Topology Manager based publishing).



You can check the _all.json file in BinaryDataPubIDconfig to see whether it determined it is a “Staging” (XPM enabled) site or not.



If it is XPM enabled, you should automatically get XPM markup in your output if:



  • Your Page Views use @Html.DxaPageMarkup()

  • Your Entity Views use @Html.DxaEntityMarkup() and optionally @Html.DxaPropertyMarkup()

Note that these HTML helpers are not only used for XPM markup, but also for Semantic markup (RDFa), so it’s always a good idea to sprinkle your Views with this markup.






share|improve this answer




















  • yes we are using Topology Manager. Can you please tell me exact folder path of _all.json? And this file will be on CD server, right?
    – user2803
    2 days ago










  • The file should be on your “presentation server”, i.e. the server which hosts your DXA Web App. I already mentioned the path (which is relative to where your DXA Web App is deployed).
    – Rick Pannekoek
    2 days ago










  • It is not working. The DXA Web App is common for both sso and non-sso cms. I can only do xpm on sso enabled cms. But in non-sso cms xpm is not working. I want to enable it in non-sso cms as well.
    – user2803
    yesterday











  • A single DXA Web App for multiple CMSes? That's interesting... can you elaborate on your setup and what determines which CMS should be used?
    – Rick Pannekoek
    yesterday














up vote
1
down vote













Although there are indeed a lot of moving parts to XPM, it should actually be quite simple to get it to work with DXA, because it has built-in support for XPM.



As Nick mentioned, XPM is typically only enabled on “Staging” and DXA determines whether XPM should be enabled or not by checking whether the CD Environment has a Preview Service Capability (assuming you are using Topology Manager based publishing).



You can check the _all.json file in BinaryDataPubIDconfig to see whether it determined it is a “Staging” (XPM enabled) site or not.



If it is XPM enabled, you should automatically get XPM markup in your output if:



  • Your Page Views use @Html.DxaPageMarkup()

  • Your Entity Views use @Html.DxaEntityMarkup() and optionally @Html.DxaPropertyMarkup()

Note that these HTML helpers are not only used for XPM markup, but also for Semantic markup (RDFa), so it’s always a good idea to sprinkle your Views with this markup.






share|improve this answer




















  • yes we are using Topology Manager. Can you please tell me exact folder path of _all.json? And this file will be on CD server, right?
    – user2803
    2 days ago










  • The file should be on your “presentation server”, i.e. the server which hosts your DXA Web App. I already mentioned the path (which is relative to where your DXA Web App is deployed).
    – Rick Pannekoek
    2 days ago










  • It is not working. The DXA Web App is common for both sso and non-sso cms. I can only do xpm on sso enabled cms. But in non-sso cms xpm is not working. I want to enable it in non-sso cms as well.
    – user2803
    yesterday











  • A single DXA Web App for multiple CMSes? That's interesting... can you elaborate on your setup and what determines which CMS should be used?
    – Rick Pannekoek
    yesterday












up vote
1
down vote










up vote
1
down vote









Although there are indeed a lot of moving parts to XPM, it should actually be quite simple to get it to work with DXA, because it has built-in support for XPM.



As Nick mentioned, XPM is typically only enabled on “Staging” and DXA determines whether XPM should be enabled or not by checking whether the CD Environment has a Preview Service Capability (assuming you are using Topology Manager based publishing).



You can check the _all.json file in BinaryDataPubIDconfig to see whether it determined it is a “Staging” (XPM enabled) site or not.



If it is XPM enabled, you should automatically get XPM markup in your output if:



  • Your Page Views use @Html.DxaPageMarkup()

  • Your Entity Views use @Html.DxaEntityMarkup() and optionally @Html.DxaPropertyMarkup()

Note that these HTML helpers are not only used for XPM markup, but also for Semantic markup (RDFa), so it’s always a good idea to sprinkle your Views with this markup.






share|improve this answer












Although there are indeed a lot of moving parts to XPM, it should actually be quite simple to get it to work with DXA, because it has built-in support for XPM.



As Nick mentioned, XPM is typically only enabled on “Staging” and DXA determines whether XPM should be enabled or not by checking whether the CD Environment has a Preview Service Capability (assuming you are using Topology Manager based publishing).



You can check the _all.json file in BinaryDataPubIDconfig to see whether it determined it is a “Staging” (XPM enabled) site or not.



If it is XPM enabled, you should automatically get XPM markup in your output if:



  • Your Page Views use @Html.DxaPageMarkup()

  • Your Entity Views use @Html.DxaEntityMarkup() and optionally @Html.DxaPropertyMarkup()

Note that these HTML helpers are not only used for XPM markup, but also for Semantic markup (RDFa), so it’s always a good idea to sprinkle your Views with this markup.







share|improve this answer












share|improve this answer



share|improve this answer










answered Nov 27 at 20:45









Rick Pannekoek

17k11124




17k11124











  • yes we are using Topology Manager. Can you please tell me exact folder path of _all.json? And this file will be on CD server, right?
    – user2803
    2 days ago










  • The file should be on your “presentation server”, i.e. the server which hosts your DXA Web App. I already mentioned the path (which is relative to where your DXA Web App is deployed).
    – Rick Pannekoek
    2 days ago










  • It is not working. The DXA Web App is common for both sso and non-sso cms. I can only do xpm on sso enabled cms. But in non-sso cms xpm is not working. I want to enable it in non-sso cms as well.
    – user2803
    yesterday











  • A single DXA Web App for multiple CMSes? That's interesting... can you elaborate on your setup and what determines which CMS should be used?
    – Rick Pannekoek
    yesterday
















  • yes we are using Topology Manager. Can you please tell me exact folder path of _all.json? And this file will be on CD server, right?
    – user2803
    2 days ago










  • The file should be on your “presentation server”, i.e. the server which hosts your DXA Web App. I already mentioned the path (which is relative to where your DXA Web App is deployed).
    – Rick Pannekoek
    2 days ago










  • It is not working. The DXA Web App is common for both sso and non-sso cms. I can only do xpm on sso enabled cms. But in non-sso cms xpm is not working. I want to enable it in non-sso cms as well.
    – user2803
    yesterday











  • A single DXA Web App for multiple CMSes? That's interesting... can you elaborate on your setup and what determines which CMS should be used?
    – Rick Pannekoek
    yesterday















yes we are using Topology Manager. Can you please tell me exact folder path of _all.json? And this file will be on CD server, right?
– user2803
2 days ago




yes we are using Topology Manager. Can you please tell me exact folder path of _all.json? And this file will be on CD server, right?
– user2803
2 days ago












The file should be on your “presentation server”, i.e. the server which hosts your DXA Web App. I already mentioned the path (which is relative to where your DXA Web App is deployed).
– Rick Pannekoek
2 days ago




The file should be on your “presentation server”, i.e. the server which hosts your DXA Web App. I already mentioned the path (which is relative to where your DXA Web App is deployed).
– Rick Pannekoek
2 days ago












It is not working. The DXA Web App is common for both sso and non-sso cms. I can only do xpm on sso enabled cms. But in non-sso cms xpm is not working. I want to enable it in non-sso cms as well.
– user2803
yesterday





It is not working. The DXA Web App is common for both sso and non-sso cms. I can only do xpm on sso enabled cms. But in non-sso cms xpm is not working. I want to enable it in non-sso cms as well.
– user2803
yesterday













A single DXA Web App for multiple CMSes? That's interesting... can you elaborate on your setup and what determines which CMS should be used?
– Rick Pannekoek
yesterday




A single DXA Web App for multiple CMSes? That's interesting... can you elaborate on your setup and what determines which CMS should be used?
– Rick Pannekoek
yesterday

















draft saved

draft discarded
















































Thanks for contributing an answer to Tridion Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftridion.stackexchange.com%2fquestions%2f19518%2fxpm-is-not-enabled-in-sdl-web-8%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown






Popular posts from this blog

How to check contact read email or not when send email to Individual?

Bahrain

Postfix configuration issue with fips on centos 7; mailgun relay