3

I have the following source code in the RTF, when I publish the page only last 2 links are working (tcm:5-283068,tcm:5-283067). When I looked at the file server only the last documents are deployed. Also I noticed that If I put tcm:5-283070,tcm:5-283069 on one component and tcm:5-283068,tcm:5-283067 on another component, all of the links are working. Is there any limit on binary links at component level for publishing or deploying?

<p><a href="tcm:5-283070" title="Older women’s experience of breast cancer       alongside other health conditions: The EPAN study of women aged 70 years and   over" target="_blank">Download the summary [test]</a>.</p> 
<p><a href="tcm:5-283069" title="Identifying the impact of service user involvement on the lives of people affected by cancer" target="_blank">Download the summary [test]</a>.</p>
<p><a href="tcm:5-283068" title="Supporting relatives: An investigation into   obstacles and aids to information exchange within families affected by cancer"   target="_blank">Download the summary [test]</a>.</p>
<p><a href="tcm:5-283067" title="The use of herbal medicines by people with cancer" target="_blank">Download the summary [test]</a>.</p>

Thanks, Suneetha

  • Can you clarify what you mean by "Also I noticed that If I put tcm:5-283070,tcm:5-283069 on one component and tcm:5-283068,tcm:5-283067 on another component, all of the links are working." please? – Jonathan Williams Jun 30 '16 at 17:05
  • I suspect you mean that when there are 4 links only the first 2 show, but when you use a copy of the same compoent and have two links each in the links appear fine - in which case, can you confirm what happens when there's 1 or 3 links (just out of interest). There is no limit in the out of the box ResolveXHTML method with regards the quantity of links that can be resolved; are you sure your code isn't set to only read the first two links? Perhaps add the section of code that you have used to render the RTFs – Dylan .. Mark Saunders Jun 30 '16 at 21:41
  • There is no limit on publishing linked binaries from a Component or Page, so I would check in the Template Builder what happens with these binaries, is the binary links are correctly resolved etc. – Bart Koopman Jul 1 '16 at 8:57
1

I suspect that this may because your HTML isn't valid (due to the spurious over text in your code example).

enter image description here

This will be preventing the templating code from adding the PDF to the deployment package.

Can you try updating the code and re-publishing.

P.S. If the items failed to publish due to size, then you would see this as Failed in the Publishing Queue.

  • sorry it was my mistake while copy and pasting. The html was correct. – Suneetha Potturi Jun 30 '16 at 15:43
  • Ah, ok. Then please ignore my answer! – Jonathan Williams Jun 30 '16 at 15:46
  • <p><a href="tcm:5-283070" title="Older women’s experience of breast cancer alongside other health conditions: The EPAN study of women aged 70 years and over" target="_blank">Download the summary [test]</a>.</p><p><a href="tcm:5-283069" title="Identifying the impact of service user involvement on the lives of people affected by cancer" target="_blank">Download the summary [test]</a>.</p><p><a href="tcm:5-283068" title="Supporting relatives: An investigation into obstacles and aids to information exchange within families affected by cancer" target="_blank">Download the summary [test]</a>.</p> – Suneetha Potturi Jun 30 '16 at 15:46
  • this is actual code – Suneetha Potturi Jun 30 '16 at 15:47
  • 2
    Please edit it in the question instead of posting in the comments... – Nuno Linhares Jun 30 '16 at 16:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.