Sign in to follow this  
Followers 0
michele

Script on button in portal row doesn't show in DDR

6 posts in this topic

Hello,

 

I just discovered something scary.  I wanted to check if a specific script was used on a layout as I wasn't sure anymore.  So I created a DDR.

 

When checking the script in the DDR the 'Layouts that use this script' and 'Scripts that use this script' parts were empty.

Still I felt a bit unsure about deleting my script, so I searched for it manually on my layout and...I found it.

I used it in a portal on a button (=text).

 

Is this a known bug of the DDR or did I miss something?

Share this post


Link to post
Share on other sites

curious did you give the button object a name? - wonder if doing so would force it to be included in the DDR?

Share this post


Link to post
Share on other sites

Your description is unclear. Can you provide an example or provide a more detailed description? What is "button (=text)" ?

Share this post


Link to post
Share on other sites

Was this an HTML DDR or an XML DDR?

 

The HTML DDR is a translation of the XML one so it could have been missed in the translation.

Share this post


Link to post
Share on other sites
When checking the script in the DDR the 'Layouts that use this script' and 'Scripts that use this script' parts were empty.

...

Is this a known bug of the DDR or did I miss something?

 

Hard to tell without being able to reproduce your issue.  Which I cannot do:

post-72594-0-31594300-1405914810_thumb.p

Share this post


Link to post
Share on other sites

I need to apologize.  The DDR consisted of different parent folders and I appear to have a script with the same name in another parent folder.

@Comment it's your picture that made me go back to the DDR to take screen shots and realise there was something different going on. 

I should have tried to reproduce the error myself but I was 'stuck' staring at the script name.

 

Thank you all for your replies.

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0

  • Similar Content

    • Find from a List
      By surfninja13
      Hello All,
      This may have been addressed before and I am very new to scripting in filemaker.  Basically what I am trying to create is a script where I can find records from a carriage return separated list.  I have created a field and a button to execute the script.
      For Example: If I have 50 records for every US State, in the field I could put:
      California
      Nevada
      Oregon
      Thus populating just the 3 records.  
       
      Any help would be greatly appreciated.
       
    • Find record with multi AND criteria
      By RDWirr
      I am running FileMaker 14 on a Win 10 machine. I have a set of records that each have a field with a starting number and a field with an ending number. I have to perform a find that locates the record where the find criteria is greater than or equal to the starting number AND less than or equal to the ending number. I need to write a script that will just let the user enter the find criteria in a edit box and then go to the record. This will theoretically be only one record that would match from the dataset. Can anyone point me in the right direction with this?
      Thanks
      RDW
    • Relationship and Scripting - Assistance Request
      By Luke Cottingham
      Hiya,
      1st of all - I have personally refrained from posting for help on a forum as I wanted to try and read, learn and solve my problems using trial and error! I am learning the FMP platform from scratch and am currently in week 2 of it.
      My question relates to a file I have attached to this post - the products area.
      For each product I have a number of 'size options' within it and each with their own unique SKU (stock keeping unit). Each SKU needs its own barcode. My job now is to produce a method to easily assign an 'available' barcode to a specific SKU.
      Barcodes are purchased from GS1 and are globally unique. I have a table hosting a pool of barcodes that I have available to me. They can only be assigned to one SKU and once assigned, needs to be removed from the available selection of barcodes in this pool.
      Issues
      I wanted to set a placeholder text for 'EAN-13' field in the product layout (this is the barcode). This field is a button! When clicked it can perform a script to open a popover or window containing all barcodes that do not have a 'ProductOptionID' assigned to it.
      How do I structure this script? Click the EAN field button - this sets the 'ProductOptionID' variable globally (is this correct to do) - [$$productOptionID] The script then opens the object 'Barcodes'. This is a popover button with a portal inside filtering all barcodes from the pool that do NOT have a productOptionID value in the foreign key field The script must then pause whilst I manually select a barcode and set a $BarcodeID variable? Or should I script it to pick a barcode at random from the pool of available barcodes (i've already set a script to give available a figure of 1 and unavailable a figure of 0) Then the script must put the BarcodeID variable in the product option record Is the above the right way to go about it? I also need a way to un-assign a barcode from a product and therefore remove the value from the product option id field in the barcode pool I have one more query. I have a relationship between Product Option table and the Barcode Pool. This relationship is O2M the barcodeIDpk with a lookup for the actual EAN (barcode) value on the Product Option table. When I set a barcode ID in the Product Option table - shouldn't the ProductOptionIDfk field update in the Barcode pool with the ID of the product option that the barcode is assigned to??
      I am convinced I had it working earlier - but not anymore and cannot see to figure out why?
      See my relationship graph below and the solution attached.
      Thanks,
      Luke
      CRM Trial barcode.fmp12

    • Scripts drop down menu is greyed out
      By MutantST
      Hi All,
      Does anyone know why my scripts drop down menu might be greyed out? I am unable access these functions.
      Cheers, Simon
    • HELP creating homework planner app
      By Hamidfs
      Hi,
      Im in deep trouble
      I need help using scripts
      I am making a homework managing app for a project and i have created a few fields; date due, subject, task, and task type
      I need help on how to process this information and show computational thinking 
      I need help in creating POP UPS!!
      I am looking for something, when clicked on, pops up a screen showing the outstanding work when the user clicks on button 1 which has a date which has past . AND I'm also trying to make a button 2 which shows entries that are close to the next few days 
      please help as soon as possible and suggest any features i can add to the homework manager and how to write the script for the buttons