I have a problem when changing table column name in Iron Speed Designer.
I made Accept changes for selected table to apply the change but I have problem.
I saw on the Iron Speed web site that I must use the Map Field dialog from the Databases tab. However, I couldn't find this option on Databases tab.
Some times it happens to me also..
But I use Rebuild All and some times I have to use Regenerate and Reload Stored Procedures.
That solved for me.
Here is how in version 8.
Rename the field in the DB. Scan for schema changes.
Then go to the databases tab.
Find your field, it should show the old name as (deleted) and the new name as (added).
Select the new version. Then in the properties pane on the right at the top you should see a "Map field to" option. Click the three dots at the end and you should get a box pop up there you can select the old field.
Hope that helps.
Related
We are using an older character based version of QAD's MFG/PRO running on Progress version 10.1. On one of the shipping tables, I've to create a browse that will display all records in a scrollable browse (sort of infinite scroll browse). It will display first 10 records initially, but user will be able to scroll up or down in the browse, which should load previous or next record (up or down arrow key).
I was wondering how something like this can be achieved. Preloading a temp-table with millions of records doesn't seem like a good idea, querying the database for every up or down arrow key press sounds equally bad. Does DEFINE BROWSE provides a way to achieve this? Is there a way to code lazy loading type scenario?
Also, how the scenario would change if instead of a browse showing data from a single table, will combine data from multiple tables?
Any help/pointers in this regard will be helpful. Also, if some best practices can be shared.
You can look at the END and OFF-END events in the browse widget. This will alert you when the user wants to scroll forward/backward. The query associated with the browse also has an OFF-END event that you could look into using for this.
Doc at https://docs.progress.com/bundle/abl-reference/page/High-level-widget-events.html#High-level-widget-events
I need to add an extra field to a BizTalk service call.
I added the field as an element in the input and output schemas.
Then I was going to map the input and output in the mapper.
But I was faced with this:
The old fields show as linked and they are working. But there's no visible link. I would like to add the new field and map it the same way and not link it directly.
Anyone knows how this can be linked?
I searched for the old fields in the solution and I couldn't find anything that could explain this. I guess there must be some property I don't know about but I don't see anything either.
The link is done in another page. I forgot you can scroll through pages in biztalk mapper
Im migrating a wordpress site for the first time. I can get the site to load here: http://www.foureyescomic.com/ by updating the config file and the database table like this:
But now I'm getting images with broken links like this:
You need to update wp_posts table in database. Here is a workaround.
If you the original address is up yet, it is more convenient to use a plugin for migration. Here is a good one.
Yep, that happens because the absolute URLs of the images are stored as text within your posts' content in the wp_posts table. If your site's backend is functioning, you can use a database find/replace plugin to find the old urls in that table and replace them with the new urls. Or you can just do it with SQL/phpMyadmin if you're comfortable with that.
I find the easiest is by using this plugin: Better Search & Replace
It's pretty straightforward from there:
Install and activate the plugin, then in wp-admin go to Tools > Better Search Replace.
In the Search For field, put your old url. Ex: http://www.oldurl.com
Then in Replace With put your new url. Ex: http://www.newurl.com
In the Select tables section select wp_posts (or whatever your posts table is if you use a differnet prefix)
You can leave Run as dry run? checked if you want to do a dry run first to see what'll be changed. If it's unchecked, the changes will be made in your database.
Hit the Search/Replace button and that should do it!
Make sure you're using the exact strings you want to find and replace, and think about whether the search string could potentially occur anywhere else in that table where you wouldn't want it to change, otherwise you could screw things up. You should definitely have your DB backed up before you run this.
Hope that helps.
Let's say a user has a list of projects, and each project has it's own set of various collection items of charts, reports, tags, etc associated by project._id
When a user selects a project, all the associated collection items are viewable by route, for example /project/<projectId>/chart/<chartId>
Currently, a user can only view one project at a time. If he opens up a new tab or a new browser, he can still only view the one project. If he switches the project, all the other tabs/windows reactively change to the new project. This is because currently the project is tied to Meteor.user.profile.projectId (but I am looking for a better way).
I would like to change this behaviour so that tabs and windows are independent of each other. If a user pastes project\project1 into a new window it should load that and it's associated collections even if his current tab is in project\project2. I hope that makes sense.
I'm not sure how to accomplish this. I am looking for suggestions and solutions. Thanks.
I believe that this can easily be accomplished using session variables:
set a default somewhere in your client code, Session.setDefault('project', 1) (or make sure that project being undefined is handled gracefully)
when a user selects a project, set the variable:
Session.set('project', [selectedProjectId])
Wherever you need to decide which project to show: Session.get('project')
I am using Drupal 6.28 with Webform 6.x-3.18. I have a multi-step form setup. Some of my fields only show up if you select a radio button. In this particular instance this is a registration form and one of the questions is "Will you be bringing a guest?". If they select yes, then some additional fields drop down pertaining to their guest. So this works great. They can submit the form and everything works. The problem is, if they go back into their form to edit it and decide to go solo and now they are NOT bringing a guest, the guest fields disappear from the form as expected, but the data is still there behind the scenes and specifically in the database. So now when we go to run reports on some specific guest fields, those fields are throwing our reports off because the data is still there in the dB as if they are bringing a guest even though they are not now.
Can anyone think of the best place to handle this issue? Should I make a custom module that hooks into the webform somehow and catches for it and resets all the guest fields? I just don't know the best place to handle this.
THANKS
You could have some logic on the submission of the data. If it is the first time they are submitting (not already in DB), go forward as planned. If the data already exists, do a before and after compare on that field in question. If it toggled off you can clear your DB spots for that user.
You could also have something in the form code, so if that radio button is not checked, always insert some blank/null/however you handle it into the DB. This way, it is always writing in those fields as blank even if the data was there before (if you go ahead and rewrite that entire row in the DB anyway).