# Jump to specified CRF Page

**URL:** <https://forum.certara.com/t/jump-to-specified-crf-page/1197>\
**Category:** Define.xml\
**Created:** [March 9, 2018, 2:41am UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197 "2018-03-09T02:41:09Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [March 9, 2018, 6:32am UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/1 "2018-03-09T06:32:55Z")

</div>

Of course, it should. However …

without following information, no way to find out what goes wrong …

- which version of define.xml are you using? Version 1.0 or 2.0?
- what tool did you use to generate the define.xml?
- did you generate the define.xml BEFORE generating the datasets (strongly recommended) or did you generate it after dataset generation (discouraged)
- which stylesheet did you use (it might be a stylesheet issue) ?
- please post the code snippet (part “ItemDef” with “Origin” child element) - you can use NotePad++ to open it.

People still need to learn that a define.xml is in first instance a machine-readable file, with as “bonus” that one can visualize it using the stylesheet. So in case something doesn’t work as expected, the first place to look is into the XML itself. If needed (also highly recommended), you can take a define.xml course from CDISC, where all this (including the XML) is explained. Don’t let you scare off, my undergraduate students learn XML in less than 2 hours.

Jozef Aerts  
Define-XML development team and Define-XML Instructor

---

<div class="post-metadata">

**Author:** ![zluo](https://avatars.discourse-cdn.com/v4/letter/z/73ab20/32.png) [@zluo](https://forum.certara.com/u/zluo)\
**Post date:** [March 9, 2018, 8:18am UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/2 "2018-03-09T08:18:29Z")

</div>

Thank you very much for your response!

Please look at my comment below.

- which version of define.xml are you using? Version 1.0 or 2.0?→version2.0.

- what tool did you use to generate the define.xml?→I used define\_xml\_generator developed by a Japanese compay. I also tried P21 comunity, but all CRF page numbers are missing in spite of providing it in excel metadata spreadsheet.(I found the same issue put in this forum without any solution)

- did you generate the define.xml BEFORE generating the datasets (strongly recommended) or did you generate it after dataset generation (discouraged)→Before generating the datasets.

- which stylesheet did you use (it might be a stylesheet issue) ?→I downloaded the stylesheet from CDISC homepage.(define\_xml\_2\_0\_releasepackage20140424), is there any problem with that version of stylesheet?

- please post the code snippet (part “ItemDef” with “Origin” child element) - you can use NotePad++ to open it.→Please look at the code below. It seems correct.

Assessment Result in Original Units

---

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [March 9, 2018, 11:41am UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/3 "2018-03-09T11:41:33Z")

</div>

Thanks! Your code looks perfectly ok! Does it only happen with DAORRES or also with other variables?  
There is an improved stylesheet available at: [Stylesheet Library - PUBLIC - Wiki](https://wiki.cdisc.org/display/PUB/Stylesheet+Library) (2015-01-16) which you might try.  
If that doesn’t help, you can create your HTML using define.xml + stylesheet, and then inspect the HTML.  
You should see something like:

CRF Pages 19

Also not a bad idea to try once on a computer of a colleague. I have seen cases where the PDF reader indeed jumps to the first page (i.e. ignores the “#page=X”), which might be due to the settings of the viewer.

Best regards,

Jozef

---

<div class="post-metadata">

**Author:** ![zluo](https://avatars.discourse-cdn.com/v4/letter/z/73ab20/32.png) [@zluo](https://forum.certara.com/u/zluo)\
**Post date:** [March 12, 2018, 3:46am UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/4 "2018-03-12T03:46:38Z")

</div>

Thanks a lot!

Unfortunately, the improved stylesheet doesn’t work either.

I tried to open the PDF within the explorer, and it works this time.

So, it seems that jumping to a specific page doesn’t work when you open the pdf file by Adobe PDF Reader, isn’t it?

---

<div class="post-metadata">

**Author:** ![lexjansen](https://avatars.discourse-cdn.com/v4/letter/l/cc9497/32.png) [@lexjansen](https://forum.certara.com/u/lexjansen)\
**Post date:** [March 12, 2018, 12:57pm UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/5 "2018-03-12T12:57:12Z")

</div>

This should work though. When you can confirm that the link is correct (9), it is not related to the stylesheet, but might have to do with the browser or PDF application.

---

<div class="post-metadata">

**Author:** ![Sergiy](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/sergiy/32/2553_2.png) [@Sergiy](https://forum.certara.com/u/Sergiy)\
**Post date:** [March 12, 2018, 3:49pm UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/6 "2018-03-12T15:49:22Z")

</div>

Hi Zhengyan,

Try to use different browsers.

Regards,

Sergiy

---

<div class="post-metadata">

**Author:** ![zluo](https://avatars.discourse-cdn.com/v4/letter/z/73ab20/32.png) [@zluo](https://forum.certara.com/u/zluo)\
**Post date:** [March 13, 2018, 1:24am UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/7 "2018-03-13T01:24:06Z")

</div>

Dear All

Thanks so much for all of your comments!

This problem is solved by changing the setting of the explorer to open the linked blankacrf.pdf within the browser.

---

<div class="post-metadata">

**Author:** ![zluo](https://avatars.discourse-cdn.com/v4/letter/z/73ab20/32.png) [@zluo](https://forum.certara.com/u/zluo)\
**Post date:** [March 9, 2018, 2:41am UTC](https://forum.certara.com/t/jump-to-specified-crf-page/1197/8 "2018-03-09T02:41:09Z")

</div>

Is it possible to jump to the specified CRF page which is set in the value level metadata?

I clicked the hyperlink with CRF page 9 in define XML for example, and always jumped to page 1 not page 9.
