# \#custom-views

**URL:** https://forum.canton.network/tag/custom-views/323.md

[Latest](https://forum.canton.network/latest.md) · [Categories](https://forum.canton.network/categories.md) · [Tags](https://forum.canton.network/tags.md)

---

## [Missing archived and create events of archived contracts in custom view projection](https://forum.canton.network/t/missing-archived-and-create-events-of-archived-contracts-in-custom-view-projection/6597)

<div class="topic-metadata">

**Author:** [@manoj](https://forum.canton.network/u/manoj)\
**Replies:** 1\
**Last updated:** [June 1, 2023, 10:28am UTC](https://forum.canton.network/t/missing-archived-and-create-events-of-archived-contracts-in-custom-view-projection/6597 "2023-06-01T10:28:22Z")

</div>

While trying to extract the create events to a database, I could see that it does not include any of the create events of previously archived contracts. If I perform any action while the custom view is running, it does …

---

## [How does custom views update the database across different Daml transactions](https://forum.canton.network/t/how-does-custom-views-update-the-database-across-different-daml-transactions/6567)

<div class="topic-metadata">

**Author:** [@huw](https://forum.canton.network/u/huw)\
**Replies:** 1\
**Last updated:** [May 17, 2023, 4:52am UTC](https://forum.canton.network/t/how-does-custom-views-update-the-database-across-different-daml-transactions/6567 "2023-05-17T04:52:55Z")

</div>

When custom views makes updates to the database, does it guarantee that all updates for a Daml transaction are executed atomically? To clarify, a Daml transaction can have multiple events, each of which is projected to a…

---

## [Non-root events not included in projection](https://forum.canton.network/t/non-root-events-not-included-in-projection/6492)

<div class="topic-metadata">

**Author:** [@huw](https://forum.canton.network/u/huw)\
**Replies:** 5\
**Last updated:** [May 8, 2023, 10:21pm UTC](https://forum.canton.network/t/non-root-events-not-included-in-projection/6492 "2023-05-08T22:21:29Z")

</div>

Hi, in the custom views library I am using the BatchSource.exercisedEvents as my source. It appears that it is not including ExercisedEvents which are not at the root of a transaction tree. Is this expected behaviour? Ho…

---

## [Custom views - support for h2 database?](https://forum.canton.network/t/custom-views-support-for-h2-database/6455)

<div class="topic-metadata">

**Author:** [@huw](https://forum.canton.network/u/huw)\
**Replies:** 2\
**Last updated:** [April 21, 2023, 1:58am UTC](https://forum.canton.network/t/custom-views-support-for-h2-database/6455 "2023-04-21T01:58:52Z")

</div>

I am looking to unit test my application which is using custom views. Will I have to test it using a postgres database or is it possible to use h2 in memory database?

---

## [Custom views Envelope offset](https://forum.canton.network/t/custom-views-envelope-offset/6427)

<div class="topic-metadata">

**Author:** [@huw](https://forum.canton.network/u/huw)\
**Replies:** 3\
**Last updated:** [April 17, 2023, 7:12am UTC](https://forum.canton.network/t/custom-views-envelope-offset/6427 "2023-04-17T07:12:44Z")

</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 transac…
