Hello,
I have a relationship between two objects and I was wanting to attach the related record from one to the other. However I dont see the attach button being available to me despite selecting the "Enable Attach" checkbox in the design page. I even cloned that object and checked to see if the attach button gets available and it doesn't for some unknown reason. Any possible explanation to this?
IramKI'm just not sure why is the Attach button still displayed in that case if it's not supposed to work if the dependent option gets checked.
Please do include this in your enhancement request: Disable Enable Attach property if Dependent property is enabled.
The documentation does not have a section about the "dependent" property nor the Attach Button behavior. This issue has been reported and will most likely be in the next release.
Flag this post as spam/abuse.
Hi Iram,
What version are you using? I tested this functionality on a 1-M relationship on version 3.1.3 and the attach button was visible.
Regards,
Godfrey
Hi Iram,
I tested the functionality for all kinds of relationships.
Able to see 'Attach <obj name>' button in record details page in all the cases.
Tested in Rollbase v3.1.3.0 release.
Could you please explain the scenario in which you are facing the issue?
Thanks and Regards,
Chandra.G
Hello,
I am using version 3.0.5.0. I am able to see the attach button for all other objects and their relationship. Its just one particular relationship which is a 1-M relationship, where I cannot see the attach button despite enabling it. Not sure what other information I should provide in order to track it down. It works for all other relationships that I have.
As a test I created another object, did the same relationship and I can see the attach button being available there but I just can't get to see the attach button for my original relationship no matter what I do. Is there any setting apart from that checkbox that enables the "attach" button?
Did you convert the relationship? There is a bug in converting relationships which is discussed on this thread https://community.progress.com/community_groups/rollbase/f/25/t/16533.aspx.
When the relationship is converted, the related object is cloned and another related list view component is created. The attach button is not displayed because the component in the page does not have a relationship. You need to drag the new related list view component in order to display the attach button.
I dont think I converted the relationship as far as I remember. The link you provided is the link for this same post. I've tried removing the component that I have and dragging another list view component but it still doesn't have the attach button.
Working Relationship list:
Not working Relationship list:
For testing purposes, can you attach your Application XML which contains these objects?
What's cardinality of relationship you use?
[mention:05b5f00eae4a468d844fa8bedcafd110:e9ed411860ed4f2ba0265705b8793d05] : 1-M relationship. 1 on the object's view page I would like to see the attach button and Many on the related object.
I actually found the issue on why it wasn't showing the attach button after trying to create another object and do exactly the same steps as I did on my original object. Basically when I created the object I selected the "Dependent" checkbox and as soon as I do that, the attach button disappears. If I uncheck the Dependent checkbox, the attach button appears again. Do you know why this would happen?
I have also tried two scenario's:
1) Creating an Object with the 'create tab for this object' option selected: When I create this object, the dependent checkbox is unchecked by default and the attach button is available. And if I go back to the application where this tab is and remove the tab, the object still has the dependent option unchecked.
2) Creating an Object with the 'create tab for this object' option deselected: When I create this object, the dependent checkbox is checked by default and the attach button is unavailable.
Can someone please get back to me with a solution on this issue? Is this a bug or the functionality is meant to be like this?
Cheers.
This feature seems to be by design. You can file an enhancement request to enable the attach button on Dependent objects, though.
An obvious solution is to disable the Dependent property. On the object definition, you can uncheck the Dependent property to display the Attach button.
That is fine if it is by design. I'm just not sure why is the Attach button still displayed in that case if it's not supposed to work if the dependent option gets checked. Moreover, I did not find any documentation that mentions the behavior I described. I only figured it out when my application did not work as I expected it to.
[quote user="IramK"]
I'm just not sure why is the Attach button still displayed in that case if it's not supposed to work if the dependent option gets checked.
[/quote]
Please do include this in your enhancement request: Disable Enable Attach property if Dependent property is enabled.
The documentation does not have a section about the "dependent" property nor the Attach Button behavior. This issue has been reported and will most likely be in the next release.
IramKI'm just not sure why is the Attach button still displayed in that case if it's not supposed to work if the dependent option gets checked.
Please do include this in your enhancement request: Disable Enable Attach property if Dependent property is enabled.
The documentation does not have a section about the "dependent" property nor the Attach Button behavior. This issue has been reported and will most likely be in the next release.
Flag this post as spam/abuse.
IramKI'm just not sure why is the Attach button still displayed in that case if it's not supposed to work if the dependent option gets checked.
Please do include this in your enhancement request: Disable Enable Attach property if Dependent property is enabled.
The documentation does not have a section about the "dependent" property nor the Attach Button behavior. This issue has been reported and will most likely be in the next release.
Flag this post as spam/abuse.
IramKI'm just not sure why is the Attach button still displayed in that case if it's not supposed to work if the dependent option gets checked.
Please do include this in your enhancement request: Disable Enable Attach property if Dependent property is enabled.
The documentation does not have a section about the "dependent" property nor the Attach Button behavior. This issue has been reported and will most likely be in the next release.
Flag this post as spam/abuse.