Acumatica I cannot change aspx screen with ASPX Editor - acumatica

I need to insert: OnDataBound="grid_RowDataBound" to a PXGrid.
My issue is, that I cannot make the insert with Acumatica ASPX Editor. As soon as I GENERATE CUSTOMIZATION SCRIPT, the code inserted disappears.
Now, if I edit that aspx screen with VS, I'm able to insert and save my change, but this change is not reflected in the Acumatica screen.
Do I have to compile the changes in VS?
Any help is appreciated.
Thanks in advance.
Alfredo

Some aspx page cannot be edited. I too got this same situation in moving tab item to other place in the grid. but it did not allow me to do. So I used java script code to move the tabs.
I dont know whether this works or not.
Try to edit the aspx page in the file editor by adding the page that you want to customize and publish it.
File Editor is the nothing but "file" which you can see left pane of the project Editor

Related

Designer HELP Release 9.0.1FP10 SHF315

This very annoying and I can't figure how to change it. When in Designer And I click on Help >> Help Contents from drop down menu it displays it differently than what I have been used to seeing and is very hard to navigate through. Is there a way to change the behavior? I recently got new Hard drive with Windows 10 opperating system
This is what I am used to seeing and is very navigable:
IBM Support was able to reproduce this and is looking into the issue. I did find a work around.
Open Help Contents from the drop down Help menu.
Right Click on the window and select properties.
Highlight and copy the Address (URL) line
Open a browser (not IE) and paste it in the Address line and go to the page.
It should then present it in a usable form. If not, then click on the first content and that should do the trick.
A problem report has been created with IBM or HCL or whatever they are called now: SPR # ZNDNBA7TEV: Domino Designer Help Contents Display Issue

How can I stop Generate Customization Script from deleting/ignoring my added ASPX code?

It seems that sometimes, not always, when I add code to an ASPX page via Customization Project -> Screens -> -> Actions -> Edit ASPX and click Generate Customization Scripts, it deletes what I added. What I'm adding doesn't contain any errors as I write it in VS and then copy and paste it into the editor. This sometimes work and sometimes does not. When it does not work, I cannot make changes no matter what I do.
Is there a way to prevent Generate Customization Scripts from deleting the code I add?
Is there a way to edit and see changes to ASPX files after publishing via Visual Studio instead of using the browser editor?
Are you testing your changes directly in the aspx page that you are customization to an existing screen?
I assume this is the case and I have found when I go and look at the generate script changes to the page it already includes my changes because I added them to the page and this process simply loads the same contents. Because its already there my guess is this is why the "changes" are ignored.
Here is what I do and maybe it will help you:
Save the standard aspx screen (before changes) somewhere to revert back later.
Make/test your changes to the aspx page
Save the modified aspx screen changes somewhere
Restore the original aspx screen (saved from step 1)
Go to your customization and paste in your changes to the screen > edit aspx
Click Generate Customization Script
Now your changes should be in place and saved.
This doesn't apply if you are writing your own aspx as this is included as a file in your customization project. This is in reference to modifying an existing aspx file from Acumatica or another customization.
The Generate Customization Scripts button does a very strict validation which will sometime remove valid markup. There isn't much you can do about this.
If you are modifying custom screens, you can modify the .aspx file directly from the {WebsitePath}\CstPublished and {WebsitePath}\Pages folders.
Modifications done to files in CstPublished will be reflected instantly after refreshing the web page.
Modifications done to files from the Pages folder will updated the customization project, as you should get a conflict pop-up in the Project Editor screen.
My preferred workflow is to modify CstPublished files, test in the screen and if it works, I copy paste my change to the Pages folder.

Can not edit code in xpages or custom control

I have a problem with Domino Designer since the problem occurs not only in existing xpage and databases, it also happens in newly created databasen and xpages as well as custom controls.
The problem is that when I try to open an xpage or custom control, I will not se any code, or anything but an emppty blank page under the toolbars.
First I thought it could be my screen, then I thought it could be an configuration problem so I reconfigured the notes client and tried again, then I check if I could open the custom controls with the xml editor instead of the xsp editor, and that worked, but I want the xsp editor back.
What is this, a blank page, it seems that it could not render properly, because if I use my keyboard and pressing the space bar, then it ask me if I want to save the changes when closing the custom control by the esc.
Do I have to re-install the client? Or does it exist any configurations for the xsp editor I miss?
BTW, It happens the other day, and when I re-configured my installation it worked, but this time it does not.
Are you looking at the design pane and not the source pane? At the bottom of the blank page, above the properties area there are two tabs, click on the "source" tab.
If that's not the issue, I'm not sure what's going wrong
I did not have time to investigate any further, it must have been the render function of the XSP Editor that was corrupt, stopped working and I re-installed the Notes and Designer and then I could continue working. No problems in my code. :-)

can't find custom embedded code on weebly

I've added some custom javascript to my weebly site using the EMBED button.
Now, I want to change it but can't get back to it in the weebly editor.
How can I find my old custom code?
OK, I found it. I just needed to slowly move my mouse over the body of the page and "edit embedded code" appeared.

Hyperlink that opens in a new tab but retain focus on the current/parent page

How do you format HTML A tag (when clicked) to make any browser to open it in a new tag, while retaining the focus on the current/parent page?
I know in Firefox, there is an option that says 'When I Open a link in a new tab, switch to the new tab immediately' .. but I want the opposite of this. When a new tab is opened, do not switch. Regardless I check or uncheck this option, it still behaves as I described above.
Anybody faced this before?
Cheers and thanks in advance for your answers,
Lasker
This is a browser setting and you cannot override this from your code and the main thing is
Don't do this.

Resources