﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » Create View Fails</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Thu, 04 Jun 2026 18:00:15 GMT</lastBuildDate><ttl>20</ttl><item><title>Create View Fails</title><link>http://forum.strataframe.net/FindPost26949.aspx</link><description>I'm using DDT v 1.7.0.7.&amp;nbsp; I've created some views in the DDT that use user defined functions. When I try to deploy the package the creation&amp;nbsp;of the views fail because&amp;nbsp;they can't find the referenced UDF. It appears the reason for this is that the DDT creates the views prior to the UDF. In an attempt to get around this I removed the view and redeployed. When the job finished the UDF was in the database. Next I put the views back in but the deployment failed since it appears that the DDT deletes the UDF, views and other objects before it&amp;nbsp;recreates anything. So when it tried to create the view the UDF wasn't there and it failed.&amp;nbsp;In an attempt to get around that issue&amp;nbsp;I deleted the UDF from the DDT redeployed and then added it manually and tried once more. Unfortunately it appears the the DDT "Remembers" objects even after they have been deleted and it is now deleting my manually added UDF and the creation of the views still fail. This wasn't an issue before and I'm thinking it must have started with one of the 1.7.x releases. HELP :crazy:</description><pubDate>Thu, 22 Apr 2010 17:25:36 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26978.aspx</link><description>It's a crutch for people too lazy to use the debugger :P&lt;br&gt;</description><pubDate>Thu, 22 Apr 2010 17:25:36 GMT</pubDate><dc:creator>Charles R Hankey</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26975.aspx</link><description>What's is this "documentation" thing you speak of?</description><pubDate>Thu, 22 Apr 2010 16:33:02 GMT</pubDate><dc:creator>Keith Chisarik</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26970.aspx</link><description>[quote][b]Bill Cunnien (04/22/2010)[/b][hr]There's documentation?!? :w00t:&lt;BR&gt;[/quote]&lt;P&gt;Where? :hehe:</description><pubDate>Thu, 22 Apr 2010 15:58:00 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26968.aspx</link><description>There's documentation?!?&lt;br&gt;
:w00t:&lt;br&gt;</description><pubDate>Thu, 22 Apr 2010 15:27:21 GMT</pubDate><dc:creator>Bill Cunnien</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26966.aspx</link><description>[quote]I should probably read the documentation some time :blush:[/quote]&lt;br&gt;
&lt;br&gt;
Whoa! Let's not get carried away....;)</description><pubDate>Thu, 22 Apr 2010 15:15:16 GMT</pubDate><dc:creator>Greg McGuffey</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26958.aspx</link><description>I should probably read the documentation some time :blush: Thanks Edhy.</description><pubDate>Thu, 22 Apr 2010 10:22:16 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26954.aspx</link><description>Hi Larry,&lt;br&gt;
&lt;br&gt;
All objects in the DDT have a "Priority" field which allows you to set which object should be created first.  By default it will assign the number 10, but you could use whatever value to get the DDT to work on your objects based on this priority order, so in your case you should have assigned a lower priority to your UDF 9 or less and then left your view with 10 this way the DDT will always work on the UDF before the View.</description><pubDate>Wed, 21 Apr 2010 21:20:41 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26951.aspx</link><description>I should have posted this in the DDT secition. Feel free to move it.</description><pubDate>Wed, 21 Apr 2010 18:59:42 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item><item><title>RE: Create View Fails</title><link>http://forum.strataframe.net/FindPost26950.aspx</link><description>I verified the DDT 'Remembering' issue by&amp;nbsp;renaming my UDF and adding to the DB manually. The DDT now leaves that alone and I can modify my view to reference the new name. it's a workaround but kind of messy. What's needed is some way to define a dependency between a UDF and a view and have the DDT take that into account when it deploys or have multiple deployment passes for objects and be able to specify what pass they are deployed in.</description><pubDate>Wed, 21 Apr 2010 18:16:44 GMT</pubDate><dc:creator>Larry Caylor</dc:creator></item></channel></rss>