As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.
Join the TIBCO Community TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.
From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
Request access to the private WebFOCUS User Group (login required) to network with fellow members.
Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.
Your data type must be Dynamic not Static since you define the values based on TABLE FILE. Doing that you'll have to assign the fex that creates the XML file (the code that you've included above)
WF versions : Prod 8.2.04M gen 33, Dev 8.2.04M gen 33, OS : Windows, DB : MSSQL, Outputs : HTML, Excel, PDF In Focus since 2007
Posts: 2409 | Location: Montreal Area, Qc, CA | Registered: September 25, 2013
Thanks MartiNY..Clearly, I am doing somethinG wrong and not uNderstanding. I created a new procedure CALP1.FEX and referenced it for Dynamic data type. The Date Range is still not working.
Thanks
---CALP1.FEX SET ASNAMES=ON SET HOLDLIST=PRINTONLY
DEFINE FILE EDW_PROD/DEV/DIM_DATE C_DATE/YYMD = HDATE(CAL_DATE,'YYMD') ; END
TABLE FILE DIM_DATE BY C_DATE AS DATE1 ON TABLE PCHOLD FORMAT XML END -RUN
WebFOCUS 8202M
Posts: 167 | Location: Montreal | Registered: September 23, 2014
It depends on what you are trying to do. If you are setting a range where you want the users to only be able to pick dates from something like 01/01/2016 to 06/30/2016. What you're doing is basically correct. However, you want your procedure that gives you the dates to have 2 dates on one line. The first date is the begin date and the second date the end date.
I believe the dates need to be in MDYY format.
I've done this before in 7.7.03. However, I've always found the calendar controls finicky and sometimes they work differently between versions.
If you want to put in a list of dates that are valid you will change the Data type to Dynamic and choose Explicit and pick your procedures.
If you follow the instructions in the documentation and it still doesn't work. I would open a ticket.
WebFOCUS 8.1.05 Windows, All Outputs
Posts: 35 | Location: Minnesota | Registered: May 17, 2013
I editied the HTML document and added the full path of the procedure and it seems to be working fine now. Strange why it wouldn't automatically when I reference it.
before edit: data_info datatype="0" ibiformat="YYMD" calendardatatype="2" calendardata="calp2.fex"
after edit: data_info datatype="0" ibiformat="YYMD" calendardatatype="2" calendardata="/WFC/Repository/../calp2.fex"
WebFOCUS 8202M
Posts: 167 | Location: Montreal | Registered: September 23, 2014