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

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

Recommended Posts

Posted

Hello. I'm updating a database I created for my company to keep track of inventory/jobs/purchase orders etc. and I'm stuck on one little thing (it's probably a really easy answer but I couldn't find it when searching).

I've got an Items layout with the item ID referenced in a web viewer that shows the vendor's web catalog. I already have it working so that when I change items in my database it automatically changes items on the web viewer. What I want to do now is to put the web viewer on a tab control so that it does this in the background but does not display default, only if you click on the tab. I have in one of my scripts an If step:

PatternCount(GetLayoutObjectAttribute("HDSupplyViewer"; "content"); "Sorry, no matches were found for")

If the result comes back true, I want it to show a custom dialog saying I need to update my item. It worked great before I put the web viewer on a tab control. Now I can't figure out how to reference the tab control and then the web viewer in this single calculation. Can anyone help? I'm stuck. Thanks.

Posted

There is no need to change the reference.

But since it is on the tab control - and is hidden - there will not be any content until you display it.

Posted

Thank you. That makes a lot of sense. So I guess I can put in the script to go to that tab and then go back to the other one. I want it to always display the dialog if the web page won't display. Thanks a lot.

Posted

Note that it doesn't have to go to the tab; it can go the object, and therefore it will select whatever tab the object has been placed on.

This topic is 5237 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.