Plug-in using excel data
hi,everybody!
I need to create a plug-in that will use excel data.
But I don't know how to access to excel from the frameMaker plug-in.
Can someone give me any idea?
regard.
erieru103
Yes, having multiple languages and fonts in the file could be a cause for having a filter problem. I don't know whether having macros would cause problems, I would guess probably not as I think the filter would just ignore them.
For more troubleshooting, I would suggest starting by making simplified copies of the Excel file, starting with having just a single language in the Excel file (one with Russian, one with Chinese, and so on), to see if you can narrow the problem down to any particular language or font.
In addition, I would look at any special formatting in the file, for example are there columns or rows that have spanned cells or columns, or rows that are divided in some special way, because Excel can format cells in ways that FrameMaker cannot handle, so that could cause the filter to make an error.
And, another possible way to proceed would be to have the Excel file open, copy a few cells to the Windows clipboard, then paste them into FrameMaker. If the cells correctly appear in FrameMaker with the font correctly maintained and the language characteristics are preserved, then that might indicate that the filter is having a problem with the Excel version or with some special formatting in the file, not with the language and font.
SHeila
Similar Messages
-
The connection string for coded UI Data driven test using excel data source is not working
Hello,
I am using the visual studio 2012 coded UI test, i added the following connection strings to connect to an excel data source:
[DataSource("System.Data.Odbc", "Dsn=Excel Files;Driver={Microsoft Excel Driver (*.xls)};dbq=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;defaultdir=.;driverid=790;maxbuffersize=2048;pagetimeout=5;readonly=true",
"Sheet1$", DataAccessMethod.Sequential), TestMethod]
[DataSource("System.Data.Odbc", "Dsn=Excel Files;dbq=|DataDirectory|\\Automation data file.xls;defaultdir=C:\\Users\\shaza.said.ITWORX\\Desktop\\Automation\\On-track Automation Framework\\On-track_Automation\\Automation data file.xls;driverid=1046;maxbuffersize=2048;pagetimeout=5",
"Sheet1$", DataAccessMethod.Sequential), TestMethod]
But i get the following error:
"The unit test adapter failed to connect to the data source or to read the data. For more information on troubleshooting this error, see "Troubleshooting Data-Driven Unit Tests" (http://go.microsoft.com/fwlink/?LinkId=62412) in the MSDN Library.
Error details: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
Thanks,
ShazaThanks for Adrian's help.
Hi shaza,
From the error message, I suggest you can refer the Adrian's suggestion to check the date source connection string correctly.
In addition, you can refer the following about how to Create a Data-Driven Coded UI Test to check your issue:
http://msdn.microsoft.com/en-us/library/ee624082.aspx
Or you can also try to use a Configuration File to Define a Data Source for coded UI test.
For example:
<?xml
version="1.0"
encoding="utf-8"
?>
<configuration>
<configSections>
<section
name="microsoft.visualstudio.testtools"
type="Microsoft.VisualStudio.TestTools.UnitTesting.TestConfigurationSection,
Microsoft.VisualStudio.QualityTools.UnitTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
</configSections>
<connectionStrings>
<add
name="ExcelConn"
connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\add.xlsx;defaultdir=.;
driverid=790; maxbuffersize=2048; pagetimeout=60;"
providerName="System.Data.Odbc"/>
<add
name="ExcelConn1"
connectionString="Dsn=Excel Files;dbq=E:\Unit Test\AddClass\AddUnitTest\sum.xlsx;defaultdir=.;
driverid=790;maxbuffersize=2048;pagetimeout=60"
providerName="System.Data.Odbc"/>
</connectionStrings>
<microsoft.visualstudio.testtools>
<dataSources>
<add
name="ExcelDS_Addition"
connectionString="ExcelConn"
dataTableName="Addition$"
dataAccessMethod="Sequential"/>
<add
name="ExcelDS_Multiply"
connectionString="ExcelConn1"
dataTableName="Multiply$"
dataAccessMethod="Sequential"/>
</dataSources>
</microsoft.visualstudio.testtools>
</configuration>
For more information, please see:https://msdn.microsoft.com/en-us/library/ms243192.aspx
Best Regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Power View Created Using Excel Data are not visible in BI Docs
I have created a Excel sheet with data and Then I added a Power View for that data set. I added this Excel Sheet to the Power BI Docs in Office 365 share-point Online. But when I open this uploaded Excel file.
There is only the Datasheet but no pages of Power Views of that data. How can I make this power Views visible in the Excel sheet.
Thanks
Normally, when you open an excel file, using excel online, (not on phone or tablette, just by using your laptop) the report will appear correctly.
I was in your case when i didn't have right access in Power BI in Office 365, so make sure that your account have right access in Power BI in Office 365. (you can talk to the administrator of Office 365 for more information). -
UFT / QTP Query - Using excel data
Hi,
I am trying to use data taken from an excel spreadsheet to populate a field inside an application I am testing, the issue seems to be around the line instructing uft to lift the text from the excel sheet:
The code I have so far is:
datatable.Import "C:\Users\UserName\Desktop\Optimo\Optimo test data.xls"
Window("OPTIMO").Window("Event Search").WinObject("New (Blank)").Click
Window("OPTIMO").Window("Event Search").Window("< New >").WinObject("WindowsForms10.EDIT.app.0.3ce0").Click
Window("OPTIMO").Window("Event Search").Window("< New >").WinObject("WindowsForms10.EDIT.app.0.3ce0").Set DataTable("Name", dtGlobalSheet)
I realise this is fairy straightforward but I am new to QTP/UFT so apreciate any assistance.
Thanks,Hi
Import your excel into a new table in Oracle (you can do this with Toad) and after that is easy to make the update based on the join on project id
Regards -
Possible to use Ms Excel data as a dataprovider in Flashbuilder for charting
My dept has an excel spreadsheet with sales data. I'd like to know if anyone has used Excel data for charting in Flashbuilder? Does anyone know of any resources or samples?
Thanks in advance.Looks like I found my own answer.
Seems that all I need to do was convert my Header data into a 2D array.
Don't know why that one was so tricky to figure out. But it's working now.
Patrick Allen -
AppleScript for mail merge with Excel data?
Is there any approach for an AppleScript that lets you use Excel data as source for some kind of mail merge operations? If not, would anyone here be interested if someone (I?) would take a closer look at some kind of a (AppleScript Studio) solution for this?
I'm not sure I get the question.
If it is "could you use AppleScript to create mail merge for Pages with Excel?", the answer is, Yes. Both Pages and Excel are scriptable.
If the question is "has anyone done it yet?", I don't know, but it could be a fun exercise.
If the question is "would there be a market, if someone (you?) wrote and released such a script?", I cannot tell, but personally I would probably write a hack that worked only for my own needs - if I had them. The overhead with usability, testing, different address formats, languages, different Excel sheet formats, and so on, makes me guess that the investment wouldn't pay off for a generic solution. Especially considering both Pages and MS Office already have their own mail merge functions. -
Excel data read from users and upload in to Oracle DB using custom webpart
Hi Team,
I need to get the excel date from user using file upload control and read the data from the excel using custom webpart and validate the each rows whether having the values or not and need to upload the data to the oracle database.
Can you please let me know the best approach to read the data from excel using sharepoint custom webpart.
Thanks,
MylsamyHi,
According to your post, my understanding is that you want to read excel data from the uploaded file and insert the data into Oracle Database.
The following way for your reference:
1.Create a Visual Web Part using Visual Studio.
2. Add an asp.net upload control into the .ascx file.
<div>
<asp:FileUpload ID="fileupload" runat="server" />
<asp:Button ID="btnUpload" runat="server" onclick="btnUpload_Click" Text="Upload" />
</div>
3. Add some logic methods into .ascx.cs file.
protected void btnUpload_Click(object sender, EventArgs e)
//read data and insert the data into Oracle database.
4.We can create a web service for adding data to Oracle database, then consume this web service in the visual web part.
More information:
http://msdn.microsoft.com/en-us/library/ff597539(v=office.14).aspx
http://manish4dotnet.blogspot.in/2013/02/upload-ans-read-excel-file-using-c.html
http://msmvps.com/blogs/windsor/archive/2011/11/04/walkthrough-creating-a-custom-asp-net-asmx-web-service-in-sharepoint-2010.aspx
Best Regards
Dennis Guo
TechNet Community Support -
Is it possible to display a date as (DD-MON-YYYY) in excel output using excel template in xml publisher where date should be displayed as date only not string.
I've tried to use hierarchy node variables, but it seems like you can't specify a attribute of the hierarchy such as level. So with the WBS hierarchy, if you create a hierarchy node variable, you specify the WBS value to select (If I understand this correctly). I wish I could instead specify "give me all the WBS nodes that happen to have the value of the level attribute greater or equal to 3. If I understand Juergens post, he is saying make security access so that only certain WBS levels can be returned in the query. I suppose we can try that, but that would then preclude getting the level 1 and 2 in the future if the authorization is global.
-
How to remove a text in browser: Some plug ins used by this page are out of date
How to remove a text in browser: Some plug ins used by this page are out of date. It occur in every page when I surfing. I am aware that is a threat but when I tried to install an update of flash the userinit.dll file from windows registry had gone and I had to reset everything.
a error during the flash update might be itself an indication of malware active on the pc. the browser is your door to the web - therefore it's very important to keep it and all plugins up to date in order to keep your pc & the integrity of your personal data safe.
[https://www.mozilla.org/plugincheck/] -
Exporting to Excel data only using sub reports in Crytal 9
Post Author: pmstar
CA Forum: Exporting
I am using Crystal 9 verision.
I have .rpt file that used 4 sub reports .In the main report I placed all the sub reports in the(detail section) row and using the data for some caluculation in the main report to generate report fields.I placed the main report fields in next row( in detail section).However when i export the report .Its generating 5 empty rows and 3 rows with 0. I have pretty much followed the solution from the article "c2017620" published in BO.
Since i used the sub reports only to get some value for main report calculations .Is there any workaround for the following issue
1.I do not want to print the subreport data when exported to excel data only.
2.how can i get rid of the blank rows
We have a lot of reports which has the same issue and we need to get the reports to work in Excel Data only .The reports works perfect when used in PDF format but its mandatory that we need to give the reports to the client using Data only.
If possible, when responding with your recommendations, please include detailed steps. It would be very helpful.Thanks in advance,
PMPost Author: swat
CA Forum: Exporting
Hi,
Of what i gather from ur scenario...this is what i did in one of my reports.
I had to use two subreports and they had to occupy one cell each, in line with other fields.
To obtain that,all the fields required in the subreport i put them into a text box.Therein restricting the fields to the txt box only...
Then import that sub-report as it is.
It worked for me....
try out...
All this only if've understood u right... -
Uploading the Data into BDC using Excel sheet
HI Gurus,
Iam uploading the Data Using Excel sheet.TCode:qp01.
Upto 3 screens the data is passing in a very fine manner.
From the fourth screen I'v to enter the Lineitem for a single material.
Ex: Matnr is PJBRIX.
For this material upto 3 screens the data is same ,but from the line item data,the PJBRIX has 3 characterstics.
How can I upload that data.
Structure:
Matnr Group GroupCounter MicCode Method Lower Upper
Pjbrix 5 6 zsr001 zsr001 1 15
Pjbrix 5 6 zsr002 zsr003 4 20
Pjbrix 5 6 zsr006 zsr0018 2 18
This is the Structure.
Pls gv me the advise or Gv me the code asap.
thanks in advance.HI Gurus,
Iam uploading the Data Using Excel sheet.TCode:qp01.
Upto 3 screens the data is passing in a very fine manner.
From the fourth screen I'v to enter the Lineitem for a single material.
Ex: Matnr is PJBRIX.
For this material upto 3 screens the data is same ,but from the line item data,the PJBRIX has 3 characterstics.
How can I upload that data.
Structure:
Matnr Group GroupCounter MicCode Method Lower Upper
Pjbrix 5 6 zsr001 zsr001 1 15
Pjbrix 5 6 zsr002 zsr003 4 20
Pjbrix 5 6 zsr006 zsr0018 2 18
This is the Structure.
Pls gv me the advise or Gv me the code asap.
thanks in advance. -
Excel Error When Using Microsoft Data Link
I have a user who is running the following:
Windows 7 w/64 bit OS
MS Office 2010
SAS 9.3 Software
They created a database in Excel and have integrated the information with SAS 9.3 database.
For some reason, now when they try to 'Refresh' data in the Excel spreadsheet, Excel
freezes and then crashes.
I believe it's because the 'Microsoft Data Link' is failing, during set-up. Below are
the error messages they get, when trying to set-up the 'Microsoft Data Link' with the
SAS 9.3 software:
ERROR MESSAGES:
1. Microsoft Data Link Error: Test connection failed because of an error in setting the
window handle property. Multipl-step OLE DB operation generated errors. Check each OLE DB
status value, if available. No work was done. Continue with test connection? Yes or
No.
2. Microsoft Data Link: Test connection succeeded but some settings were not accepted by
the provider.
I don't know where to begin troubleshooting this issue, as I don't use the SAS
9.3 software, nor have I ever attempted to use the 'Microsoft Data Link' option in
Excel.
TROUBLESHOOTING I'VE TRIED:
Repair of MS Office 2010
Uninstall/Reinstall Excel 2010
Any assistance would be appreciated.Hi,
In regarding of the issue, please provide us more information to assist you better.
Did this issue occur with other database program? Such as Access, SQL sever or other?
If the Excel still crashes, I recommend we collect the Event log and App crash dump file to do further troubleshooting. You can try to analyze dump by
yourself if you would like to:
How to analyze app crash dump file:
http://blogs.technet.com/b/askperf/archive/2007/05/29/basic-debugging-of-an-application-crash.aspx
Also you can send them to us via Email ([email protected])
If the issue occur with the SAS 9.3 software, I recommend you connect it's provider or support to get more help.
Did you
use 'Microsoft Data Link' like this?
If it was, we may need to debug the connecting string, you can post the question to Visual Studio forum.
Hope it's helpful.
Regards,
George Zhao
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Displaying signed 8 bit integers using a data plug-in
Hi there,
I'm currently using DIAdem 10.1 and I'm writing a data plug-in in order to read binary data. What I'm missing is a data type "eI8" to read and display 8 bit signed integers. Obviously, to get the data into a channel, I have to use the data type eByte, but how do I make DIAdem display it as a signed value in the data portal?
Many thanks in advance!
Regards,
StefanHello Stefan,
you can use the method:
Value = Object.GetNextBinaryValue(eDataType)
eDataType
Aufzählung.
Bestimmt den Datentyp des auszulesenden Werts.
2 - eI16
16-Bit-Integer.
3 - eI32
32-Bit-Integer.
4 - eI64
64-Bit-Integer.
5 - eByte
Byte.
6 - eU16
16-Bit-Unsigned-Integer.
7 - eU32
32-Bit-Unsigned-Integer.
9 - eR32
32-Bit-Real.
10 - eR64
64-Bit-Real.
Regards,
Rebecca Fox
Applications Engineer
National Instruments -
Converting formatted excel date to useful data in labview
I am using the report generation toolkit for Office, and reading an excel file. All the data comes back fine, except for the date column. In excel the column is formatted as a date (ex. 5/5/05) but when it comes through in labview it ends up being something like "37740", it's the same effect if you switch the format in excel to general, the date changes to a number. Is there anyway to leave the formatting the way it is in Excel and still bring into labview a useful date, or would I have to format the excel file differently?
Thanks.I think I have it figured out using the Excel serial number date. I attached a vi of something I threw together quickly to convert excel date serial numbers to labview date info. I'm not 100% if it works all the time, but the few examples I tried worked fine.
Attachments:
Excel date to labview date.vi 53 KB -
Hi,
i have created a crystal report that uses Excel as data source. Reason i used excel is for easy updating of data by non IT users. The report runs perfectly on my computer, but when i upload it to Infoview, there is error when i run the report from Infoview:
"The database logon information for this report is either incomplete or incorrect."
"Unable to retrieve Object.
The database logon information for this report is either incomplete or incorrect."
May i know what causes the error? There is no user id/password to access the excel file.
I have also tried saving the excel in the same server as the crystal report server, but i still face the same error.
Pls help!
ThanksYou would have created a connection in your local system to access the XLS data
You should be creating a similar connection in the server as well and then update the rpt file with the connection details in CMS
Thanks,
Ganesh
Maybe you are looking for
-
Apple TV, menu button on remote does not work???
I updated the firmware usiing iTunes, but the problem is still there.
-
How can I use Yosemite for iCloud backup if it doesn't exist?
There was an update to iCloud. Now my documents on my MBP don't sync with my iPad correctly. The computer tells me I need to update to OS X Yosemite. How can I do that when Yosemite isn't scheduled to come out till the end of October?
-
Can i set particular website loading slow?
i need to set some website loading too slow , is it possible ?
-
Count Records from JDBC Sender
Hi Experts, I have a requirement to process 80,000 records once a month from MS SQL Server to BW. After tuning of server and assigning the XBTM queue for the scenario didnt help much and brings down the J2EE engine everytime. Now i am thinking of pro
-
on my 3G I go to settings, general but the is not a "software update " how to update ?