# Custom views Envelope offset

**URL:** <https://forum.canton.network/t/custom-views-envelope-offset/6427>\
**Category:** App Development\
**Tags:** custom-views, daml-sdk\
**Created:** [April 15, 2023, 4:31am UTC](https://forum.canton.network/t/custom-views-envelope-offset/6427 "2023-04-15T04:31:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![huw](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/huw/32/2343_2.png) [@huw](https://forum.canton.network/u/huw)\
**Post date:** [April 15, 2023, 4:31am UTC](https://forum.canton.network/t/custom-views-envelope-offset/6427/1 "2023-04-15T04:31:54Z")

</div>

Hi, I am experimenting with the custom views early access feature. I notice that the `Envelope` has an offset but it is optional. In what cases will there be no offset on an `Envelope`? I’d like to have access to the transaction offset for every `Event` inside my `Project` function, is this possible?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [April 16, 2023, 8:00am UTC](https://forum.canton.network/t/custom-views-envelope-offset/6427/2 "2023-04-16T08:00:08Z")

</div>

It’s `None` during the ACS ingestion initially. It’s set for transactions afterwards.

---

<div class="post-metadata">

**Author:** ![huw](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/huw/32/2343_2.png) [@huw](https://forum.canton.network/u/huw)\
**Post date:** [April 16, 2023, 10:36pm UTC](https://forum.canton.network/t/custom-views-envelope-offset/6427/3 "2023-04-16T22:36:59Z")

</div>

I thought that the tool would use getTransactions instead of using ACS? Quoting the docs - “A newly created projection by default has no offset, which means a projection starts from the beginning of the ledger”. That seems to imply it would initially stream transactions from the ledger beginning, rather than getting the ACS?

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [April 17, 2023, 7:12am UTC](https://forum.canton.network/t/custom-views-envelope-offset/6427/4 "2023-04-17T07:12:44Z")

</div>

I believe the docs are off there. If the offset is not set, it starts from the ACS not from ledger beginning.
