Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Skip 'custom attribute'-step
Last Post 06/08/2011 4:32 PM by mh. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
mh
New Member
New Member
Posts:11


--
06/08/2011 1:55 PM
Hello,

I’ve added a custom attribute to dmx and I want to hide this attribute during the upload/create-process of documents or directories. I.e. I want to skip the 'custom'-step when a document is currently uploaded und just show the custom attribute if the attributes of an existing document are edited.

How cloud I realize this?
thanks
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/08/2011 2:54 PM
This is only possible if you created your own control for the attribute. Then you can show/hide stuff based on the context you are in.

Peter
mh
New Member
New Member
Posts:11


--
06/08/2011 3:56 PM
Thanks for the quick reply.

I‘ve created my own *.ascx but I don’t know how to access the ‘upload-wizard’. My 1st approach to solve this problem was:

 
public override void LoadSettings()
    {
        if (this.EntryId < 0) this.Visible = false;
        //...
    }


With this solution, I was only hiding the control and got an empty custom-page where the user has to click 'next'. So, I want to skip this step to avoid an empty page.
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/08/2011 4:04 PM
I think you got as far as you could. There is no way to flag the wizard that you're invisible. But you can switch to single edit screen for the edit control and you don't get the wizard. Maybe that helps.

Peter
mh
New Member
New Member
Posts:11


--
06/08/2011 4:32 PM
Thank you. That helped ...
You are not authorized to post a reply.