Remote include not working in shipping page for SFRA In Development #536
Replies: 6 comments
-
No, it works fine with aliases also. Just make sure that you have the asset
configured correctly for the given site.
Can you open the asset in a separate tab using the page-show url? If not
then your setup is not correct.
…On Thu, Apr 11, 2019, 7:23 PM sandeepkuma123 ***@***.***> wrote:
Hi,
I have added the content asset in shipping page by using the Page-Include
and calling some js event,
this is working only in the local sandbox, not the development and staging
and in a console, I am getting like so, what could be the reason for this.
<wainclude url="removed the site name'/Page-Include?cid=404-page-content
I believe alias will not work for any remote include.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<https://github.com/orgs/SalesforceCommerceCloud/teams/community/discussions/24>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aogm5ai3b6H0w9B45sbFBEn6zpCxTI_Iks5vfz5ugaJpZM4cpqlQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Hi
This problem is about response code of 404 page, you cant add page includes with http response 404 or 500, either change the response code at error not found page
… On 11 Apr 2019, at 16:05, Praveen Gaur ***@***.***> wrote:
No, it works fine with aliases also. Just make sure that you have the asset
configured correctly for the given site.
Can you open the asset in a separate tab using the page-show url? If not
then your setup is not correct.
On Thu, Apr 11, 2019, 7:23 PM sandeepkuma123 ***@***.***>
wrote:
> Hi,
> I have added the content asset in shipping page by using the Page-Include
> and calling some js event,
> this is working only in the local sandbox, not the development and staging
> and in a console, I am getting like so, what could be the reason for this.
> <wainclude url="removed the site name'/Page-Include?cid=404-page-content
> I believe alias will not work for any remote include.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <https://github.com/orgs/SalesforceCommerceCloud/teams/community/discussions/24>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/Aogm5ai3b6H0w9B45sbFBEn6zpCxTI_Iks5vfz5ugaJpZM4cpqlQ>
> .
>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Beta Was this translation helpful? Give feedback.
-
Yes , I did check with the Page-Show and the content is displaying properly, it has the only script. |
Beta Was this translation helpful? Give feedback.
-
We are getting the 500 response in the browser console when the event is calling. |
Beta Was this translation helpful? Give feedback.
-
If the reaponse is 500 then its an internal server error, please resolve
the scripting issue first. Once that is fixed your content should appear
fine, as someone mentioned assets don't appear for 404 and 500 response
codes.
…On Fri, Apr 12, 2019, 8:21 AM sandeepkuma123 ***@***.***> wrote:
Hi
This problem is about response code of 404 page, you cant add page
includes with http response 404 or 500, either change the response code at
error not found page
…
We are geting the 500 resopose in the browser consloe, when the event is
calling.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/orgs/SalesforceCommerceCloud/teams/community/discussions/24/comments/4>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aogm5c1BZefz5siBupLYQaqvcuaNZ3XJks5vf_RtgaJpZM4cpqlQ>
.
|
Beta Was this translation helpful? Give feedback.
-
Thanks, @pravngaur, It got resolved. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I have added the content asset in shipping page by using the Page-Include and calling some js event,
this is working only in the local sandbox, not the development and staging and in a console, I am getting like so, what could be the reason for this.
<wainclude url="removed the site name'/Page-Include?cid=404-page-content
I believe alias will not work for any remote include.
Beta Was this translation helpful? Give feedback.
All reactions