Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

cover last portal row with "button" to create a record


This topic is 4189 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I've seen this done before, but forget where I saw it and how to do it. I'm hoping someone can refresh my memory...

 

post-95230-0-85687000-1370315136_thumb.p

 

I have set the relationship to allow creation of related records for the portal table occurrence, now I'm trying to cover the last portal row (the one that allows creation of a new record) with a clear message telling users to click on that row to add a record. It is currently a text object with conditional formatting testing if the primary key field is empty. This method requires the user to type data, then exit the field before the conditional formatting refreshes and the message is hidden.

 

What I want to do is have the message be hidden as soon as the user clicks on the row (or a field in that row becomes active).

post-95230-0-85687000-1370315136_thumb.p

Posted

Hi

 

Add a button object over the portal row which should not be a button and then add conditional formatting to that object. The conditional formatting formula should be like that it will hide the object if its not the last portal row. For example :

 

IsEmpty ( Glb_PortalTab__gContactID::SerialNo )    [Enable the button object]

not IsEmpty ( Glb_PortalTab__gContactID::SerialNo ) [Disable the button object]

 

Here "Glb_PortalTab__gContactID" is the TOG of portal table and the field - SerialNo must be the primary/non empty serial# of Portal table.

 

Attached a script to all the portal fields and pass 2 parameters. 1st parameter should be the object name of the portal field and 2nd parameter should be the SerialNo from portal TOG.

 

script will be like this - Portal Button ( Object Name, SerialNo)

 

You can go through the following solution file to solve your problem.

 

http://fmforums.com/forum/files/go/d4881cdb591172c33794e07a6bef1ec0/portalrowbutton

 

 

with regards

Posted

That pretty much describes what I have now, except that I pass the script the name of a field in the portal, and a value to add to that field instead of the "Object Name". The script is triggered on object enter and set's the value of the specified field if the SerialNo is empty.

 

I assume the script you were talking about does something similar? The link didn't work, so I could not see the file you mentioned. Do you have another link to the file?

This topic is 4189 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.