Carlos López - Hey team, I have a question if i...
# dev-help
c
Hey team, I have a question if is possible on embed config level - we want that data type "date" we can disable the dates older than 5 years ago? (see the image want the dates before 2021 should be disabled) - do we have a configuration to pass to embed component - we're using LiveboardEmbed - I tried with runtime filters but the reason of this one is different, let me know any question or more context, thanks! https://cdn.discordapp.com/attachments/1143209464875462756/1517005258675458119/Screenshot_2026-06-17_at_10.13.33_PM.png?ex=6a34b4be&is=6a33633e&hm=0ea26b657b92c29f6aec4eb97bb13e02a6f837919805467dfa1700c7cde54db7&
a
message has been deleted
Solution: Short answer: no — there is no LiveboardEmbed config to make the date picker UI disable specific years/dates (for example, disable everything before 2021) in the filter calendar. From current docs, date-related embed flags are things like: -
isCentralizedLiveboardFilterUXEnabled
-
isEnhancedFilterInteractivityEnabled
-
isThisPeriodInDateFiltersEnabled
but none of these provide a min/max selectable date constraint on the picker itself. If your goal is enforcement (not just UI disable), the supported approach is to constrain data/filter logic using runtime filters or model-level logic (worksheet/view/table), so older dates are excluded from results.
Copy code
javascript
import {
  init,
  AuthType,
  LiveboardEmbed,
  RuntimeFilterOp,
} from "@thoughtspot/visual-embed-sdk";

init({
  thoughtSpotHost: "https://your-ts-host",
  authType: AuthType.None,
});

const fiveYearsAgo = new Date();
fiveYearsAgo.setFullYear(fiveYearsAgo.getFullYear() - 5);
const yyyyMmDd = fiveYearsAgo.toISOString().slice(0, 10);

const embed = new LiveboardEmbed("#tsEmbed", {
  liveboardId: "LIVEBOARD_ID",
  runtimeFilters: [
    {
      columnName: "Date",
      operator: RuntimeFilterOp.GE,
      values: [yyyyMmDd], // enforce floor date in query/results
    },
  ],
});

embed.render();
Suggestions: - If users must never pick older dates, best practice is to enforce at data/model level too (so it cannot be bypassed). - If you need calendar-level UX behavior (disabled years in picker), you’d need a custom host-side filter UI and then pass values into ThoughtSpot (rather than relying on native filter modal behavior). - If you share your current filter field type (date vs datetime) and column name, I can give you the exact operator/value format for your case. Docs: - Liveboard view config (embed options): https://developers.thoughtspot.com/docs/Interface_LiveboardViewConfig#_iscentralizedliveboardfilteruxenabled
y
Hey currently this isn't possible it seems. Can you add a feature request. I'll confirm once with particular team if any way.
c
Sure, thanks!