Easy!
- Copy the code into an index.html file
- Compress it to ZIP file
- Commit it to your extension
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<body>
<style>
.title {
text-align: center;
color: white;
}
</style>
<div>
<h2 class="title">Hello Auravant!</h2>
</div>
<script>
window.addEventListener("readySDK", () => {
let farmsData = avt.generalData.getFarms();
avt.interface.async_toast({
type: "success",
message: "Se accedió a información de " + farmsData.length + " campos.",
});
});
</script>
<script src="https://auraview.auravant.com/sdk/v1.0/aura-package_v1.0.js"></script>
</body>