Views are not showing.
# apify-platform
l
Some scrapers show different views in their output. In my case I don't see these view tabs. I made a view called "Overview" and expected an "All fields" tab to appear when running my own actor, as the dataset contains more fields than that. Even when adding multiple views, those tabs don't appear. Any idea why that would be? This is what my dataset_schema.json looks like:
Copy code
json
{
    "actorSpecification": 1,
    "fields": {},
    "views": {
        "overview": {
            "title": "Overview",
            "description": "Overview of all groups",
            "transformation": {
                "fields": [
                    "name",
                    "displayName",
                    "description"
                ]
            },
            "display": {
                "component": "table",
                "properties": {
                    "displayName": {
                        "label": "Group Name",
                        "format": "text"
                    },
                    "name": {
                        "label": "Slug",
                        "format": "text"
                    },
                    "description": {
                        "label": "Description",
                        "format": "text"
                    }
                }
            }
        }
    }
}
https://cdn.discordapp.com/attachments/1433342127156498442/1433342127349305364/image.png?ex=69045761&is=690305e1&hm=ee6802b3013d6f21cbf7d8b28fdbfc5d82a0f3413f57cb52ec8a75f17ddab160& https://cdn.discordapp.com/attachments/1433342127156498442/1433342127768731648/image.png?ex=69045761&is=690305e1&hm=6200d909d9735e385502b002a3d817d6f9ebf8d3906d3ef498719d47f3801878&
a
message has been deleted
l
Hi, do you have the
.actor/dataset_schema.json
correctly referenced in the
.actor/actor.json
? For example
Copy code
json
{
    "actorSpecification": 1,
    "name": "this-is-book-library-scraper",
    "title": "Book Library scraper",
    "version": "1.0.0",
    "storages": {
        "dataset": "./dataset_schema.json"
    }
}
l
I found the issue. I also had an output schema:
"output": "./output_schema.json"
. When removing that, the views show up.
@User While this solved my problem, for another actor I would like to both use views and an output schema. Is that possible? Because, I keep having this problem of views not showing up when using an output schema.