iDetail functions reference
There are a lot of functions to use in iDs, check the official documentation for the complete reference.
Bellow find the most common ones.
Meta Viewport tag in head
Always include the meta tag to correctly display the iDetail content in an iPad.
xml
<meta
name="viewport"
content="width=1024 height=768 initial-scale=1, maximum-scale=1, user-scalable=no"
/>Most used iDetail functions
You should always import the Veevva CLM Library in each slide to be able to access the CLM functions:
xml
<script type="text/javascript" src="js/veeva-library-3.0.js"></script>You can find this file in the official documentation link above, or in an existing iD.
Navigation
You can ran the navigation code directly inside the href attribute of an HTML anchor tag.
xml
<!-- Goto Previous Slide -->
<a class="bt bt_back" href="veeva:prevSlide()"></a>
<!-- Goto Next Slide -->
<a class="bt bt_next" href="veeva:nextSlide()"></a>
<!-- Goto a specific Slide -->
<a href="veeva:gotoSlide(Olumiant_Evidence_Sharing-01.zip)"></a>