Помогите пожалуйста советом. Для работы я использую данные, которые хранятся в SQL Server, а попадают туда из Lotus при помощи LEI. Проблема заключается в том, что в текстовых полях после выгрузки из Lotus вместо кириллицы отображаются вопросы. Подскажите пожалуйста кто может, почему так происходит и можно ли с этим справиться.
Просветите, знающие люди! При переустановке всего на компе пользователя настраиваю клиент Lotus Notes. ID-пользователя скопировала с сервера, его и подставляю, далее получаю ошибку: "В каталоге домино не найден Ваш активный ключ". На админской машине пробую зайти под этим ID - пишет, что истек срок сертификата. Ресертифицирую. Не помогает. Возможно, что данные сертификата не обновились? Может, конечно, я плохо искала, но по ошибке "В каталоге домино не найден Ваш активный ключ", полезной для себя информации на форуме пока не нашла, а вопрос срочны! Подскажите, кто что знает, пожалуйста. Заранее благодарна.
Добрый день, уважаемые лотусисты. Прошу помочь новичку. Опишу ситуацию. Есть домино-сервер. Половина пользователей пользуется Lotus Notes. Вторая половина пользуется Outlook. В консоли сервера постоянно происходит CD-to-MIME conversion. В документе Персона пользователей параметр Format preference for incoming mail установлен в Keep in senders' format Если я правильно понимаю, осуществляется постоянное преобразование почтовой базы из одного формата в другой процессом POP3 Server. Вопрос: правильно ли я мыслю, что лучше установить Prefers MIME ? Тогда при получении письма из Notes преобразованием в CD будет заниматься Router. Если так, то как грамотно преобразовать? Можно ли это сделать сразу для всех пользователей? Делать в нерабочее время? Можно ли как-то провести оптимизацию POP3? Процесс постоянно ест 50-100% процессорного времени и 1,5 гигабайта оперативки и виртуальной памяти. Буду очень признателен за советы!
The Learning Continuum Company, Ltd. has three new Sametime 8.5 courses, including a new course on using the new Meeting Rooms in Sametime 8.5. TLCC's Sametime courses can be taken using either a web browser or the Notes client. The lessons are easily customized for a customer's unique requirements using the Notes client. TLCC offers low-cost site licensing plans to make it affordable to properly train all your Sametime users on Sametime 8.5.
Way back in the 1960s, Jim Henson created a number of videos for IBM. These include training films and ads. This article includes four of the videos which range from under a minute to almost ten minutes in length. I'm rather fond of the Cookie Monster with the computerized coffee machine.
INTEGRA FOR NOTES - THE AWARD WINNING LOTUS NOTES TO MICROSOFT OFFICE & LOTUS SYMPHONY INTEGRATION SOLUTION Integra generates Notes data to Microsoft Word, Excel, and Lotus Symphony, allowing end users to analyse and present data using Graphs, Pivot Tables, Filters, etc. Supports Mail Merge and Labels. No installation required, on the end user's workstation.
Through the optional use of Integra's event driven model, it provides a depth of access to data & computational capability, which is unique in the industry.
A couple of years back now I was tasked with some fairly heavy duty reporting on data held in Domino. It soon became apparent that only a SQL-based system could produce the data in the required format and so I set about writing some PHP to grab all the Domino data via repeated XML web requests and dump it in to MySQL.
Two years on and there's a chance I'll be picking up where it left off. So, partly as a learning exercise and partly to plan ahead I went about converting the LAMP side of things to ASP.NET. Turns out it wasn't half as hard as I thought it might be and didn't take all that long either.
The app I'm migrating is Flex-based and it makes calls to PHP files to fetch the reporting data in XML format. It's not really a LAMP website as such. After I'd changed all URLs in the Flex code ending in ".php" to end in ".ashx" I then created files with the same names in Visual Studio, but with the .ashx extension (Generic Web Handler file). Then I pasted the body of the PHP code in to the ProcessRequest method.
Syntax Similarities
Once the PHP code was inside Visual Studio it went all red and wiggly as all the errors highlighted themselves. It didn't take too long to get rid of the bulk of these errors due to the similarities between the PHP and C# languages, which use a similar syntax and operators etc.
For example. This PHP code:
$start = 1;
$total = 0;
$count = 100;
$loaded = 0; while ( $total > $loaded || $start==1) { //Load XML from "xmlView?OpenView&start=".$start."&count=".$count $start+=$count; $loaded+=$count;
}
Quickly turns in to this C# code:
int start = 1;
int total = 0;
int count = 100;
int loaded = 0; while ( total > loaded || start==1) { //Load XML from "xmlView?OpenView&start="+start.ToString()+"&count="+count.ToString() start+=count; loaded+=count;
}
A lot of the work is simply removing the dollar signs. A lot of the rest of what you need to do can be achieved using the Quick Replace feature in Visual Studio.
Here's a list of the find/replace alls I did to take the grunt work out of it.
Search For
Replace With
".
"+
."
+"
echo "
context.Response.Write("
$_POST["
context.Request["
$_GET["
context.Request.QueryString["
isset(
!String.IsNullOrEmpty(
htmlspecialchars(
HttpUtility.HtmlEncode(
$someVariable
someVariable
in_array("aString", $myArray)
myArray.Contains("aString")
$
With all of those replacement done I'd say that about 75% of the wiggly lines gone.
From MySQL to SQL Server
With all the syntax updated I then set about changing all the calls to MySQL to call SQL Server instead. Before I could do this I needed to recreate the database and tables. It's not a massive database so I did this by hand in the SQL Server Management Studio.
Once I'd re-created all the tables I added a Database Diagram in SQL Studio and defined the relationships between all the tables based on their primary key columns. Then in Visual Studio I added a new Data Set (.xsd) file and dragged all the tables on to there. Because I'd already defined their relationship in the Database Diagram, Visual Studio copied these relationships over for me.
With all the tables in the Data Set I then saved it and this then added a new TableAdapter class for each of my tables. Let's see how helpful these adapters are:
Here's the PHP code I was using to loop all the Products
ProjectsTableAdapter pta = new ProjectsTableAdapter(); DataTable products = pta.GetData(); foreach (DataRow row in products.Rows) { context.Response.Write(row["id"]); }
Notice I've not had to use any SQL in the C# code. We'll see later on how much easier it makes adding data to the tables too.
Getting Data Via XML
The SQL data held in both versions came from Domino-based XML views. In PHP and C# it's actually quite easy to load and loop XML. Let's imagine we're loading XML in this format:
In PHP you fetch, process and store the XML data like this (requires PHP5 to use "Simple XML"):
$products = simplexml_load_file($BasePath+"ProductsAsXML?OpenView&start="+$start+"&count="+$count); foreach ($products->products->product as $product) { $query = "INSERT INTO Products VALUES ("+$product->id+", '"+$product->name+"');"; $result = mysql_query($query);
}
In C# you achieve the same thing like this:
XElement xml = XElement.Load(BasePath + "ProductsAsXML?OpenView&start=" + start.ToString() + "&count=" + count.ToString()); foreach (XElement product in xml.Element("products").Elements("product")){ pta.Insert(Convert.ToInt32(product.Element("id").Value), product.Element("name").Value);
}
Not that "pta" is the same ProjectsTableAdapter we mentioned earlier. Notice how it added an Insert method when we created the Data Set and it takes the right number and types of arguments. Again, no need for any SQL code. It's much, much simple to deal with SQL in C# than PHP!
The XML processing code in PHP might read a little easier than in C# but they're both equally (and surprisingly) easy to achieve.
Summary
So, there you go. Porting PHP code to C# doesn't require you to re-write the code. Just tweak it a little. It's no 10 minute job but then nor does it take weeks. More likely to be days, but will always depend on size of app etc. The starting point has to be a find/replace though.
What did I get out of the exercise? Well, I learnt a bit more C# and all practice and exposure is good at this point. In the long run though I now have something that is much easier to maintain and development doesn't involve text editors and FTP clients. Instead I have a local web server to test on and full type-ahead predictive coding.
I'm not saying PHP is better than ASP.NET or vice versa. It's just that, given the choice of which I'd rather develop in, ASP.NET wins hands down. Give me a GUI any day!
We do not use activities, so a feature as written above could be in that service.
When you hand-over projects it would be great to send/forward/delegate a folder with content to a collegue.
Most simple would be the option to select the folder and choose 'forward folder'. this would initiate the move of the complete folder from one mailbox to another.
The receiver should ofcourse accept the delegation.
Make it possible to push RSS feed settings to clients to prepopulate them, similar to how widgets are pushed or via user policies. Examples of feeds that would be useful this way are Lotus Notes tips (http ://www-10.lotus.com/ldd/notestipsblog.nsf/content.rss) or a company news website/database.
IBM is hosting an Open Mic conference call with Lotus Development and Support Engineers to discuss IBM Lotus Notes Traveler on Wednesday, December 8, 2010 at 10:00 AM EDT (2:00 PM GMT).
IBM is hosting an Open Mic conference call with Lotus Development and Support Engineers to discuss Lotus Notes 8.5.1 Upgrade & Deployment Best Practices on Wednesday, September 22nd, 2010.
IBM is hosting an Open Mic conference call with Lotus Development and Support Engineers to discuss Notes 8.5.1 Upgrade & Deployment Best Practices on Wednesday, July 15, 2010.
IBM is hosting an Open Mic conference call with Lotus Development and Support Engineers to discuss "Customizing the Notes Install Kit" on Wednesday, July 21, 2010.
IBM is hosting an Open Mic conference call with Lotus Development and Support Engineers to discuss XPages & Domino Designer on Wednesday, August 18th, 2010.
Here are dates and times for Open Mic QA sessions scheduled for the IBM Lotus Notes, Domino, Domino Designer, and Notes Traveler in 2010. For future Open Mics, click the link provided to see registration information and additional details. For past Open Mics, click the link provided to see a ...
The quick reference card will give an overview of Lotus iNotes 8.5.1 and describe some of the most frequently used tasks. To view or download in PDF format ...
Following is a suggested way of using the Notes calendar scheduling with JAWS®. Testing has shown that when using JAWS® screen reader software with Notes 8.5.x, the Notes calendar scheduling tool may suggest meeting times where only 40 to 75 percent of meeting attendees are available. Use the ...
How do I setup the browser with Lotus Notes Traveler 8.5.1 on the iPad and which version of the WebProjector is compatible with the iPad and Lotus Notes Traveler 8.5.1?
In Notes 8.5.1, Navigator design elements containing a hotspot with @Command([ToolsRunMacro]) produce the error "Entry not found in index". SPR# DPOL7XRGK8.
Using Lotus Domino Designer, you design a Form that contains a Rich Text field. The Rich Text field contains a Default Value formula which uses the @GetProfileField Formula function. Using the Lotus Notes client, you create a document with the Form the Rich Text field is set to the contents of the relative profile field, but not all of the Rich Text attributes from the profile field are carried over as expected. The font is reset to Default Monospace. The other Rich Text attributes, such as color, point si
You have a LotusScript agent which uses DIR$ with extra parameters to find a list of files. After your agent has terminated the folder in which the DIR$ command was executed is now locked and cannot be deleted until the client/server is restarted.
You are attempting to save an agent in a database and you get the error "A zero note ID would have been passed into IPC_ACTION_STATE_SAVE_CONTENTS in LSEDTIPC.DLL". The agent does not save.
The Java and LotusScript CompactWithOptions methods are not working as expected when using the "Don't maintain unread marks" enable/disable options. When you pass the relative constant to disable the "Don't maintain unread marks" property, it doesn't disable the property. Similarly, the constant to enable the property doesn't enable it. Further testing reveals that the option parameters that are designed to enable the "Don't maintain unread marks" property actually will disable it, and that the option param
If you try to delete an open document that is also displayed in the preview pane while debug LotusScript is enabled, an "Illegal DELETE" error is returned.
Alloy users can create a personalized report template by opening an existing report template in their Alloy report catalog, clicking Edit in the action bar, setting any available parameters, and saving the form. However, when the Alloy user saves the form it is not immediately available for use. ...