DM3.0 EA2: How do I delete an object with a transformation?

How can I delete a table column as a transformation (tools -> design rules -> transformations)?
I have tried doing this:
if (column.getName().startsWith("created_by")) { delete column; }
but nothing seems to happen...
- Marc de Oliveira

Thank you very much! :-)
Btw, I think it is a really bad idea that the "Table template" transformation is somehow linking the template columns to the actual template table. The script should only base the decision about creating new columns on the column name and not consider if a column was originally created from the template.
Reason 1: If you have created "updated_by" columns on half of your tables before deciding to create a template table and use the "Table template" transformation then all the tables that already have an updated_by column will receive an updated_by1 column.
Reason 2 (my problem): If you delete the template table (by accident) and then recreate it. All columns based on the previous template table will be ignored and you will receive an updated_by1 column on all tables.
The script should just see if a column with the same name exist and only create a new column if it does not already exist.
- Marc de Oliveira

Similar Messages

  • How can I delete a photo with the new update?

    How can I delete a photo with this new update Photos?!

    Use the View menu to switch to Photos (Moments window) if you aren't already there. Click on the photo to select it. Press the Delete key. Confirm.

  • Indesign : how to move a rectangle object with his content ?

    hi
    i develop an indesign extension with flash builder and cs extension builder 2.
    when I move a rectangle object containing an image with the geometricBounds property the image does not move and is not visible anymore ...
    how to move a rectangle object with his content ?
    thanks
    Simon

    Use rectangle.move()

  • How do I delete an object

    I have imported a document from Word, and the footer came in as an object.  I can delete the text within the object, but I can't seem to delet the object itself, even though it is selectable.  How do I go about deleting the object?
    Thanks in advance for any help you can offer.
    - McCArch

    Word does some strange things with objects, page numbers, etc. that don't survive translation to Pages very well. Usually these things get converted to master or background objects. Go to Format > Advanced & choose Make master objects selectable & then go to Arrange & select Make background objects selectable. You still might not be able to click on them if they are behind text so you need to command-click outside of the margins & drag the cursor toward the object until it is selected. You can then use the Arrange menu to bring the object to the front.

  • Can somebody please help me and tell me how i can delete apps permnently with an iphone 4S with an updated IOS 8.1.2

    WIth the updated IOS 8.1.2 on my iphone 4S i can't seem to delete apps permanently. Can somebody tall me how i can delete apps please.

    Are you syncing with iTunes?
    If so, then you must mark the Apps that you have deleted in iTunes to not reload. If this isn't done they will return after a sync.

  • How can I delete an object?

    If I create a JLabel, how can I delete it?
    Somebody told me that with remove.
    How do you use it?

    [Swing Tutorial|http://java.sun.com/docs/books/tutorial/uiswing/]
    [java.awt.Container.remove(java.awt.Component)|http://java.sun.com/javase/6/docs/api/java/awt/Container.html#remove(java.awt.Component)]
    This is not "deleting an object" it is "removing a GUI element from a container". You can not "delete an object" in Java, you can remove all references to it and let the GC get rid of it, but from the body of your question it sounds like you want to "removing a GUI element from a container" not "delete an object".

  • Installed the "update" for G-toolkit accidentally, no icon on opening screen and now can't delete...how do i delete an app with no icon

    installed the update for "G-toolkit" and now want to delete it---bad review---- but am not getting it as an icon on the opening screen..its listed as an app under settings and its listed as installed at the app store...how do i delete it now?

    Also having the same problems here.
    Yesterday, I have downloaded the APPSGONEFREE and there is one App called the Victorian Mystery that is still free and i downloaded it. After a few minutes it pop up on my iphone homescreen,  it can't be loaded. So I tried to delete it but it cant be deleted. (there is no x mark on top of it). I then use my itunes to synchronize it  through my iphone but it wasnt able to delete it. I then bought the apps at apsstore ( Victorian Mystery), which is not free for today and I synchronize and it cant be installed on my Iphone. I just cant delete the APP. I need help.

  • How do I outline an object with a dash line in Photoshop CS6?

    How do I outline an object (silhouette figure) with a dash line in Photoshop CS6? ... never was this difficult.

    I have a silhouetted figure I'd like to outline with a dash line ... Will I have to manually outline the object ... what alternative do I have?

  • How to create a date object with a specific time?

    How can I create a date with today's date but with a specific time, say: 20:00:00?
    Thanks in advance.

    Don't forget about those pesky milliseconds!I'd have gotten away with it too.. if it hadn't been
    for that pesky BigDaddyLoveHandles.I'm in top form today. On the drive in to work I managed to
    push two scooter riders off the road and gave the finger to
    a Prius owner.

  • How to duplicate & repeat any object after any transformation in Photoshop ??

    Hi !
    How to duplicate & repeat objects after any transformation in Photoshop ?? shortcut please..to make my work faster ..
    Thanks in advance if anybody could help me out !!!

    Duplicated the Layer and transformed.
    Then hit cmd.alt-shift-T a couple times.

  • How do I delete sites created with iWeb and posted with .mac after a format

    I am confused about how to delete a couple of sites that I created with iWeb and posted with my .mac after I did a format reload?
    I have tried everything. The original files are not on my MacBook Pro because of the format.
    I also see them in my idisc, but I is my understanding that on my MacBook Pro that I can delete the files, but they are hosted online. On the online idisk I cannot delete them because there is no option. Please help!!!

    Using the file menu in Finder:
    Go/iDisk/My iDisk/Web/Sites/iWeb/YourSitesAreHere
    Highlight selected files and Command/Delete. You will receive a drop down asking you if you are sure; click OK and the files/sites will be deleted immediately from the iDisk.
    Mark

  • How can I delete an email with a huge video/movie attachment.  It is jamming my email and won't delete.

    I received an email with a huge attachment of a short (30 sec) movie.  I can't delete it and it seems to have jammed that email address.  When I try to delete other messages they keep reappearing even after emptying the "trash".  What can I do to delete this huge email?  I have shut down the iPod Touch (OS 4.2.1) and restarted but that didn't help.  Any suggestions?

    Thanks for the suggestion, but I have already read and deleted the email from the same account on my laptop. And the message is still on the iPod.  I gave up on trying to delete the message, mainly because it is such a huge file that the iPod would shut down each time before the task could be completed.  By giving up on deleting the message, and turning the iPod off overnight, the everything seems to have settled down and all other emails are coming in and able to be deleted, forwarded, etc.  So my one option is to just leave that message on the iPod and ignore it even tho it is using a lot of megs of storage.
    Another thought I had was deleting that email address from the iPod and adding it back in later.  Does anyone know if simply deleting the email address would get rid of all the messages for that address?  I'm reluctant to try it just yet, but welcome any suggestions on that approach.

  • How can I delete songs associated with a specific iTunes account?

    They are songs that I accidentally pulled onto my machine from a friends and I don't want them.  Anytime I run across one it asks for their password.  I'd like to delete all of the songs associate with her ID en masse.  Any thoughts?

    You can swipe and delete the individual songs from within the music app
    Or delete all of the music  at once from settings/usage/music
    You will have to either synch with your own library again via iTunes or re download via the iTunes Store and going to purchased
    I don't know of away to delete just the music specific to one account

  • How do I delete multiple photos with the new IOS 6 software?

    I want to get some of my photos off of my iphone to get more storage space but going through my thousands of photos 1 by 1 is very tedious.  I want to find the fastest way to remove the photos from my iphone.

    There is no delete button in the newest iOS that I just upgraded to

  • How to restore deleted web clip with Time Machine

    I had a couple of nice web clips in my dashboard that I had to close to install new software. Now I want to restore them with time machine. How can I do that? Where are the files that contain the web clips? Which files to restore? I know it can be done because I once restored the entire system with time machine and got the web clips back as expected.

    restore the files homedirectory/library/preferences/widget-com.apple.widget.web-clip.plist AND
    homedirectory/library/preferences/com.apple.dock.plist and restart Dock by entering the following in terminal
    killall Dock

Maybe you are looking for

  • IPhone 6 not responding to touch in landscape mode

    I notice that others have posted about this problem. Sometimes when my phone is in landscape, specifically tilted clockwise, it doesn't respond to touch at all. I flip the phone back up vertically and it works fine. I haven't tried this with phone ti

  • Multi-Channel output audio from Quick Time (or iTunes)

    Hello all, I am trying to get multi-channel AC3 audio output from QT and can only get two channel stereo. I have seen lots of related posts but can't quite get it. I am trying to configure a Mac Mini to output properly via the TOS link port to my aud

  • Training Proposal in Qualification Catalog

    Hi, What are the settings required for generating Training Proposal when we are performing Profile Matchup?Also please let me know what data should be maintained for this purpose in BEG/BET/BE. With Regards, Kaustuv Goswami.

  • Error 403--Forbidden while trying to access servlet

              Hi All,           I am very new to Weblogic server. I have downloaded the 6.1 version of Weblogic           application server. I tried a simple example in which I have an HTML which calls           a servlet. I have deployed it on weblogic

  • Pantone CS6

    I have problem between Photoshop CS6 and Corel. When closing a file. PSD in Photoshop CS6 with Colors Spot (Pantone) and import it into Corel (Independent release), it appears without the pantone. This does not occur if the file is closed in Photosho