No extractions associated

Hello everybody,
If the extraction I created (List<InstrumentIdentifier>, InstrumentList, ReportTemplate, ReportExtraction, Schedule) shows "No extractions are associated with this schedule" in the web interface on the page of the schedule, what is the missing object ?
(missing can mean improperly linked to other objects, of course)
It worked good so long I recalled the objects I created on the web interface, but after re-creating everything by code I have this error.
Best Answer
-
Hello,
Some instructions were not necessary, if compared to the code provided by the demo application. But let us admit this was not really the point.
In fact, it appears the problem was rather on the side of the ReportTemplate : I forgot to give conditions, which for sure returned far too many data. Is anybody able to precise what conditions are taken in account when launching requests through the web interface ?
If you type the name of a ReportTemplate followed by a point, the intellisense does not propose you condition, but when creating the ReportTemplate you can provide it, this way :
reportTemplate = new TickHistoryIntradaySummariesReportTemplate
{
Name = strReportTemplateName,
Condition = new TickHistoryIntradaySummariesCondition()
{
QueryStartDate = DateTime.Parse("2016-09-29T00:00:00.000-05:00"),
QueryEndDate = DateTime.Parse("2016-12-29T00:01:00.000-05:00"),
ReportDateRangeType = ReportDateRangeType.Range
}
};After that, in another thread was said that it is not mandatory to delete the objects, and you can get them back later. For sure, but maybe that needs to spend more time to know exactly what properties need to be updated when calling the object again.
__
Perhaps I forgot a little, during the day I spent a lot of time to send asynchronous requests by code, which did not generate an exception at execution of the code, but then the extraction failed.
0
Answers
-
Some more elements ...
I created another schedule from the web interface, with the same list and the same report, and it worked good.
So, I shall have to verify if there is a problem with the schedule.
This is the code that defines it :
string strScheduleName = "IntraDaySummariesSchedule";
Schedule schedule = this.FindScheduleByName(extractionsContext, strScheduleName);
if (schedule == null)
{
schedule = new Schedule()
{
ListId = il.ListId,
Name = strScheduleName,
ReportTemplate = rt,
ReportTemplateId = rt.ReportTemplateId,
OutputFileName = "OutputIntraDaySummaries"
};
TimeTrigger t = new TimeTrigger();
t.At.Add(new ThomsonReuters.Dss.Api.HourMinute() { Hour = hour, Minute = minutes });
schedule.Trigger = t;
schedule.Recurrence = ScheduleRecurrence.CreateSingleRecurrence(re.ExtractionDateUtc, false);
extractionsContext.ScheduleOperations.Create(schedule);
schedule.ReportTemplate = rt;
schedule.ReportTemplateId = rt.ReportTemplateId;
}
re.IsTriggered = true;
ExtractedFile ef = new ExtractedFile();
ef.ExtractedFileName = "OutputFileIntraDaySummaries";
ef.ScheduleId = schedule.ScheduleId;
re.FullFile = ef;
re.ScheduleId = schedule.ScheduleId;
re.ScheduleName = schedule.Name;
schedule.NextExtraction = re;0
Categories
- All Categories
- 3 Polls
- 6 AHS
- 37 Alpha
- 167 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 705 Datastream
- 1.5K DSS
- 633 Eikon COM
- 5.2K Eikon Data APIs
- 14 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 6 Trading API
- 3K Elektron
- 1.5K EMA
- 259 ETA
- 569 WebSocket API
- 40 FX Venues
- 16 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 4 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 284 Open PermID
- 47 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 24 RDMS
- 2.2K Refinitiv Data Platform
- 879 Refinitiv Data Platform Libraries
- 5 LSEG Due Diligence
- 1 LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 123 Open DACS
- 1.1K RFA
- 108 UPA
- 196 TREP Infrastructure
- 232 TRKD
- 919 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 103 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛