How to EDTWRD on Rational Developer for IBM i - rational-developer-for-i

I am working on an assignment for my iSeries file and design course. We have to edit the Zip Code field and Home Phone field to EDTWRD and I do not have the same options I had for the previous field showing me the options for Editing. I tried editing the source code but it does not allow me to insert a new line. My instructor is traveling and asked me to google my questions. My textbook is not up to date with the software.

Related

Create two edit button with different settings

I've created a version tracking that will show all the edited document inside view. What if I want to make all document be draft at the same time, and during that, document can't be edit. And after I click save, all draft document will be saved at the same time.
Edit 1
I have one more question when I do version tracking, how can I make all response document cannot be edit? only current document can be edit?
UPDATE QUESTION
Currently, I am using version tracking to show all list with all edit document. So for now, every time I click EDIT, it will show all history of updated.
So I want create a situation where I have 2 edit option which is EDIT and PC Specification. I want to set PC Specification after edit document, it updated all history under version tracking, but for EDIT I don't want it update under version tracking. Because, for EDIT function, it only for edit one or two information BUT for PC Specification, it is to update all information. For example, I have 3 documents inside the "Computer" view.
When I open one document, it will show document details. On top menu, I have two buttons which are Edit and Close Windows. So can I add one more toolbar? Which is PC Spec as below?
So I will click the PC Spec button on the toolbar then the documents will open as a new document with same document information. Same as edit function. After I click save, it overwrite document + show edit history
For another situation where I click EDIT, same as PC Spec but after I click save, it overwrite document only.
As shown below, the history is when document edit using PC Spec only.
Another question, I have "Archived" view. How can I show only history of document inside "Archived" view?
Hope you guys can understand this. Please ask me anything if you not understand. Any help will be appreciated. Thanks! :)
Regarding your second question, to make all response documents non-editable, you will have to
Give your regular users Author access instead of Editor access in the database's Access Control List and assign them a role, which I'll call "AppUsers".
Give yourself and anyone else who will be responsible for managing the app a role which I'll call "AppAdmins".
Add a hidden computed field with type "Authors" to the form and set the initial value formula to
#If(#IsResponseDoc;"[AppAdmins]";"[AppUsers]":"[AppAdmins]")
Note that this will not have any effect on existing documents until you refresh and re-save them.
Then, you're going to have to hope that automatic versioning refreshes the documents. I'm not sure if it does or does not. If it does not, then you're probably going to have to give up on using the native versioning and write your own version using LotusScript. As I recall, that's what was done in the standard Lotus document library template, because the native versioning is pretty limited in what it can do.
As for your first question, I'm sorry but I really don't understand what you're asking. I can't tell in some parts whether you are telling us what you have already done, or what you want to do. Here on StackOverflow, the best way to get useful answers is to show us very clearly what you have tried, tell us what happens, and tell us what you thought should have happened instead. This is a place for helping you fix your code, not a place to get tutorials that amount to explicit instructions on how to write your code in the first place.

Web Scraping into Excel

I would like to create a spreadsheet that I can refresh and pull in each weeks English premier League fixtures, each week I would like to refresh this and see the weeks future fixtures. I have tried to use the import function from Data/From Web and selected the box with the table of fixtures however no data gets pulled into the spreadsheet.
The website I am using is - "http://data.7m.com.cn/matches_data/92/en/index.shtml"
I am open to understand a better way of doing this import and also if there is a better website to use I am also happy to change. I have chosen this one as it seems to have the most simplified listing of the fixtures.
I have also tried this website - https://www.premierleague.com/fixtures
When the import completes it actually skips all the fixtures and returns all the other information.
Should i be looking to some of the HTML elements within the script of the web page to extract the data?
For example on the following site - https://www.premierleague.com/fixtures I am looking for a file received by the website that updates the fixtures each week (after some direction from Google) I hit the F12 command and look within the "Network" tab however I cant understand how the website, this or the others quoted create the weekly fixtures.
Any suggestions on how to pull this into Excel or another tool would be fantastic.
Welcome to [so]! it sounds like you haven't done as much research as you could have. Your first link, in the top corner has links to "Free Feed" which take you to customizable widgets and from there is a link to a customizable live template.The first page also has a link to "Data" , I'm not sure what that consists of or whether it will help (since I'm not much of a sports fan on my continent, and even less on yours!
As for importing into Excel, I didn't have an issue with the table I could see, but once again I'm not clear on what data you're trying to get and what you want to do with it.
On the ribbon's Data tab click From Web.
Enter the first URL from your question and hit Enter
When the Navigator window loads, click "Table 1" and then click Load.
Below is what Excel then automatically loaded as a table:
If instead of clicking Load, you were to click Edit then you are brought into the Power Query Editor, where you can customizable tons of stuff. The one I was interested in was Use First Row on Headers. After choosing that, and clicking Close & Load, and 30 seconds of formatting later I had:
With Power Query you can choose, remove, split, or combine columns from this or other tables. It's fairly advanced but you should be able to find a good Power Query tutorial online, to see examples of what you can do, to learn about other ways you can customize the import and/or analysis of the data.
Edit:
More Information:
Here are the instructions for all versions:
Office Support : Connect to a web page (Power Query)

Editor to record user input and play it like a movie

I need a code editor similar to CodeMirror https://codemirror.net which can record user sequence of writing code and can replay it.I require it for developing online examination with functionality to watch how candidates solve the problem online.

Anchor Text issue in ebay listing template [closed]

Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 3 years ago.
Improve this question
This may be simple question. But i did quite a bit research on Google, Stack-overflow & ebay for last 2 days before posting here.
Scenario
My company sells items via ebay. I am working on a new listing template (HTML page which describes about selling item).
Please see http://www.ebay.com.au/itm/4x-SAMSUNG-CLP-680DW-680DN-CLP680-CLT-506S-CLT506-506-CLTK-506-TONER-REFILLS-/380697552903
In the listing, blue color portion is the template created by me.
Problem
I have 5 Anchor links (PAYMENTS, POSTAGE & HANDLING, OUR LISTINGS, WARRANTY & RETURNS, CONTACT US) on top of the template, which takes customers quickly to corresponding sections on the listing.
Actually listing template itself is a html file, which we used to modify as per product spec and upload together with ebay listing. All works fine on me local PC.
Once uploaded in to ebay, Ebay amends with some wired URL and navigation doesn't work at all. In ebay, once i hoover over the link, it shows following link,
example for PAYMENT,
http://vi.raptor.ebaydesc.com.au/ws/eBayISAPI.dll?ViewItemDescV4&item=380697552903&t=1376555146000&tid=-1&category=16204&seller=tonerstop&excSoj=1&rptdesc=1&excTrk=1&lsite=15#pay
I can see # tag is appended correctly. But somehow its not functioning as expected.
Interesting Finding
Adding more complexity, this issue apparently not consistent too. Sometimes it works as well. In some situation it forms a complete different link and works. See example below.
example for PAYMENT,
http://www.ebay.com.au/itm/4x-SAMSUNG-CLP-680DW-680DN-CLP680-CLT-506S-CLT506-506-CLTK-506-TONER-REFILLS-/380697552903?#pay
But once you refresh the browser, it stops working again.
Tried Solutions
1.Rename anchor text assuming there may be other anchor text with same name. Didn't work.
2.Tried java script. But its not supported by ebay listing.
3.Looking for slimier template on ebay to see if those working. (Still looking)
Questions
Why its happening intermittently?
Is there any special ebay requirement for anchor texts?
Am i missing (of course) any thing here?
More Info
Issue still exists. Did check with 20+ different vendor's listing.
Had a long chat/email communication with ebay. But couldn't get passed to a developer other than customer support team.
So no choice for me other than to remove all the anchor menus.
I got the same problem and solved it by using another method:
onclick="document.getElementById('XXXXX').scrollIntoView(true); return false;" href="#XXX
etc. like a normal anchor.
Bye!

Custom announcment board in Sharepoint 2007

First off, please bear with me. My question concerns more specifically with custom lists, custom code inside Sharepoint 2007. My experience is more with applications that work outside but access data (Client Object Model) in Sharepoint 2010.
At work I was recently tasked with the following request:
Create a custom announcement board where everyone can create an announcement but only admins and creators can edit it.
The main list page was going to provide a summary of the details, title and an icon that depicts the type of announcement (gif of a baby if birth announcement).
Upon clicking on an announcement, a detailed page containing more detail of the announcement and up to 4 pictures will be displayed.
When entering data the pictures can only be a maximum size.
Here is how I was going to attack this. I was going to create a Custom List that allowed for the addition of Picture columns and all the other columns I required. I would then modify the NewForm, EditForm and DispForm pages to meet our requirements. Picture size would be controlled through Javascript of Jquery on the page. My question to you experts out there is does this sound feasible? Is there a better way?
Thank you for any help
I wouldn't edit the list forms - not in this case at least. One way you could build this would be as a publishing site. You can create custom page layouts to suit the design of the announcements. There would be a bit of work to build it into a polished solution. Depends on how far you want to go.

Resources