Search Results for 'script'
-
Search Results
-
Dear Tapforms,
I have two forms, namely Project and Tasks. I have a linked field called Project Name that connects the Projects form to the child form, Tasks. I’ve created a script to automatically generate a set of tasks. However, I need to update these tasks with the Project Name. I tried using Advanced Find and Replace, but it doesn’t display the linked field, which I learned is a limitation. Manually updating each task is very time-consuming. Could you please suggest how I should proceed? I’ll paste my code for populating the tasks below. Any examples or corrections would be greatly appreciated. I’m not a professional coder, but I can research and accomplish my needs by following examples. Thank you all for your support. Happy TapFarming!function Ais_Pum_Default_Tasks() {
var title_id = ‘fld-a34e5fd309dc4a9385d4b44736547f96’;
var priority_id = ‘fld-cf942f13d8f14338966a81ccdd30ad81’;
var category_id = ‘fld-fe9f869cf75a484ab4e3ca70f4c3dc43’;
var environment_id = ‘fld-4a3951d0ef7b4e24a7affbf0afdbe6e3’;
var project_name_id = ‘fld-e63dc1cd09cc4448b5d9e92005cb2dcf’;
var status_id = ‘fld-77ad662cdb234741a5aff92434f600ac’;var ServerRequest = form.addNewRecord();
var InsConfPUM = form.addNewRecord();
var CFOTool = form.addNewRecord();
var LoadCustomizationPum = form.addNewRecord();
var GeneratePreCompares = form.addNewRecord();
var LoadBugsGenerateCP = form.addNewRecord();
var PUMDMU = form.addNewRecord();
var OutageDEVL = form.addNewRecord();
var PUMDEVL = form.addNewRecord();
var CheckDevArchiveQuery = form.addNewRecord();
var RetroDev = form.addNewRecord();
var OutageTest = form.addNewRecord();
var PUMTEST = form.addNewRecord();
var CheckTestArchiveQuery = form.addNewRecord();
var HandOffCollegeTesting = form.addNewRecord();
var TestingSignOff = form.addNewRecord();
var CMticketProd = form.addNewRecord();
var PUMPROD = form.addNewRecord();ServerRequest.setFieldValues({[title_id] : “PUM Server Selection”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “N/A”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
InsConfPUM.setFieldValues({[title_id] : “Install and Configure PUM”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “N/A”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
CFOTool.setFieldValues({[title_id] : “Configure CFO Tool in PUM”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “N/A”, [project_name_id] : “PUMXXX”, [status_id] : “Differred”});
LoadCustomizationPum.setFieldValues({[title_id] : “Load Customization in PUM”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “N/A”, [project_name_id] : “PUMXXX”, [status_id] : “Differred”});
GeneratePreCompares.setFieldValues({[title_id] : “Generate Pre-compares in PUM”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “N/A”, [project_name_id] : “PUMXXX”, [status_id] : “Differred”});
LoadBugsGenerateCP.setFieldValues({[title_id] : “Load Bugids and generate Change Package in PUM”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “N/A”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
PUMDMU.setFieldValues({[title_id] : “Apply PUM on DMU”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92DMU”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
OutageDEVL.setFieldValues({[title_id] : “Send outage Notice for DEVL”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92DEVL”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
PUMDEVL.setFieldValues({[title_id] : “Apply PUM on DEVL”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92DEVL”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
CheckDevArchiveQuery.setFieldValues({[title_id] : “Run Archive query in Devl”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92DEVL”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
RetroDev.setFieldValues({[title_id] : “Hand off Dev to Development team for Retrofits”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92DEVL”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
OutageTest.setFieldValues({[title_id] : “Send Outage Notice for test environment”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92TEST”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
PUMTEST.setFieldValues({[title_id] : “Aplly PUM on test environment”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92TEST”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
CheckTestArchiveQuery.setFieldValues({[title_id] : “Run Archive query created by Cindy”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92TEST”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
HandOffCollegeTesting.setFieldValues({[title_id] : “Releae environment for college Testing”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92TEST”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
TestingSignOff.setFieldValues({[title_id] : “Testing sign off”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92TEST”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
CMticketProd.setFieldValues({[title_id] : “Open Change Management Ticket for Production move”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92PROD”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
PUMPROD.setFieldValues({[title_id] : “Apply PUM on PROD”, [priority_id] : “High”, [category_id] : “PUM”, [environment_id] : “F92PROD”, [project_name_id] : “PUMXXX”, [status_id] : “NotStarted”});
document.saveAllChanges();
}
Ais_Pum_Default_Tasks();
The problem of using a Form Copy to test scripts. The copy doesn’t have any data, and so that has to be imported via CSV file.
The problem with that is the possibility of a missed comma in the data. I discovered that when I use a field with a Pick List (Multi-Value Popover) with more than one item, a comma is inserted. That creates problems with exporting and using CSV files. I tried to find a way to substitute something else like ” – “, or semicolon etc., but I couldn’t find a way to do that.
Any suggestions?
Topic: Group summaries
In the attached is my data with “show group summaries” selected.
What I would like to have is a way to show the group summaries of each column (field) which is calculated to include the numbers of unique names for each field
For example, how many different Class names, different Order names, different Family names, different Genus names, different Sp names.
If that can’t be done, how do I get that information. It doesn’t have to show up on the screen but can I run a script to show me the results?
I can’t write scripts so I would need help here.
I really honestly don’t know much about scripting. But I could probably figure it out if I had a little guidance. I have a form I created where I want to copy the information in one field and put it into another field, but that other field needs to be edible without messing up the original field. For example, I have a field for Christmas cards and I have another field for 2023 Christmas cards and I want to move the yes or no from the first field to the 2023 field and then I will go through and add or subtract add add in new information or whatever for this year. I would appreciate some guidance on that.