change in component are not getting reflecting in the Page with Dynamic component Template

464 Views Asked by At

I have created a component Template and I made this component Template as Dynamic. I have checked "Allow on Page Using Dynamic Assembly". The output is of type "HTML fragment".

Then I published Component and Component Template.

I created a Page and added the component and its component Template to the Page. The output of the page is aspx.

The Page TBB is like this.

    <!-- TemplateBeginRepeat name="Components" -->
             @@RenderComponentPresentation()@@
    <!-- TemplateEndRepeat -->

I published the page. My published pages are getting stored at local location C:\Temp.

I opened the page through visual studio and browsed the page through IE.

Then I made changes to component and published it. The changes are not getting reflected in the published page. As the CT is dynamic, changes should automatically reflect in the page.

But it did not reflect.

Did I miss any steps?

EDIT

I cannot find

<tridion:ComponentPresentation runat="server" etc .../>

Do I need to do any setting in any of the config file.

Can anyone let me know reason behind this?

Thanks In Advance.

4

There are 4 best solutions below

9
On BEST ANSWER

Check that the language of your publishing target is not set to 'none'. The 'none' setting will force the publisher to embed the DCPs in the page, and prevent them from being dynamically included.

0
On

You need to check if you have the tag <tridion:componentpresentation> on your page source as already suggested. But make sure that you are checking the file source directly, not the view / page source on your browser as on your browser, this tag will be already rendered.

If you don't find it on your source, what are you finding? the rendered component presentation? If this is the case, your page is not retrieving the component presentation as a DCP.

Can it be that you published your page before making your CT dynamic? if this is the case you need to republish the page.

2
On

Refer url How to include Dynamic component presentation in the tridion page? to verify your approach. after this if you feel any further assistance , let us know .

8
On

Firstly are you able to locate your Dynamic component Presentation now? As you were having some issues yesterday.

Also verify your changes to DCP first and as @DavidForster suggested check if they published to same publication.

Hope all this will help you.