How can we create html table with lines in Logic apps? Following is the table i have created using 'Create HTML table' action.
enter image description here
Getting data in table which doesnt have lines. how can i format html to get the table structure with horizontal and vertical lines?
enter image description here
As "Create HTML table" action can not show horizontal and vertical lines, so we can add style when we send the table in email. Please refer to the screenshot below(set "Is HTML" field to "Yes"):
After running the logic app, I received an email shown as below:
Related
please I created a table in Xano and then get the api from that table
it looks like this when you put the url
[{"id":3,"title":"hunting","clues_count":0}]
what i want to achieve that I want to get a blank page and when i put ?id=1 it gives me the right title
how this could be achieved?
I have a working HTTP trigger logic app that sends an email with info provided in the HTTP Post body, the workflow is very simple as shown below.
The HTTP Post body contains a property called Table which contains an HTML formatted table when it's sent the email contains additional characters highlighted in the email screenshot below
A sample of the body content
{
"To": "email#domain.com",
"Subject": "emailSubject",
"Body": "some info",
"Table": [
"<table>",
"<colgroup><col/><col/><col/><col/><col/></colgroup>",
"<tr><th>Owner Name</th><th>Subscriptions</th><th>Application Names</th><th>Owned Resources Count</th><th>Total Resources Cost</th></tr>",
"<tr><td>Owner1</td><td>Sub1<BR>Sub2<BR>moehe-devtest</td><td>App1<BR>App2<BR>App3</td><td>count1</td><td>amount1</td></tr>",
"<tr><td>Owner2</td><td>Sub1<BR>Sub2<BR>Sub3<BR>Sub4<BR>Sub5</td><td>App1<BR>App2<BR>App3<BR>App4<BR>App5<BR>App6<BR>App7<BR>App8</td><td>Counr2</td><td>Amount2</td></tr>",
"</table>"
]
}
The Email Sample with the unwanted characters:
I tried to send the Table property in JSON format and use the Create HTML Table Action instead to create the HTML Table but although the unwanted characters disappeared the items in the cells are not displayed in multiple lines so I need help to either remove the unwanted characters from the original flow or to display the items in multiple lines with the Create HTML Table action.
i have created a custom button 'create note' in list view of leads. An extra column of create note appears as shown below in link(image).
through that 'create note' button i am sending the lead id as record in url as - http://localhost/cod/suitecrm/index.php?action=ajaxui#ajaxUILoc=index.php%3Fmodule%3DNotes%26action%3DEditView%26return_module%3DNotes%26return_action%3DDetailView%26record%3Da0deb972-35e7-d909-41be-5be96467233c.
after clicking on the create note button i want to fetch that record id and want to autofill the related field lead using that record lead id in create note.
i want the same functionality that appears after opening a lead below the history tab create note with autofill related lead name on list view of lead using that button 'create note' in list view
kindly help
links for images below:
drive.google.com/file/d/1SPJlSSg1qDgtkJEw5NX_5ZaUTgW8T2m1/view
drive.google.com/file/d/1EQcg_TI7FgjXCHgHVK-nhmEqCxsce69q/view
I have a simple Angular-JS page that uses tr-ng-grid tag
<div ng-controller="TableDataCtrl">
<div id="tableview_element">
<table tr-ng-grid="" items="data"
ng-show="data_available()">
</table>
</div>
{{str_data}}
</div>
Whenever user clicks on a link, the application should display a different table. The controller is able to obtain the JSON data from the server using HTML get. 'str_data' is stringified form of the JSON data. That seems correct always.
But the tr-ng-grid does not ever update the table's schema. It seems to lock on to the very first table that is displayed with it. The whole table may be hidden or displayed using ng-show(), but then the column headings don't get modified to that of the newly loaded table.
To be very clear: Say you have two tables, birds and mammals. If the first table is a list of all birds and birds-attributes, tr-ng-grid displays the table by automatically figuring out the column headings. If the user clicks on mammals then on the page, the mammal data gets loaded, but tr-ng-grid is still looking for bird-attributes in a mammals table which has a different set of columns (and a few common columns like id and name)
How would one force tr-ng-grid to erase the current template and construct a whole new table?
One method is of course to keep every table in its own controller, and own HTML element. Is there a simpler way? or is there an alternative to tr-ng-grid that supports such a full-fledged table view refresh?
Seems like, grid headers are initialized only once.
One solution to solve your problem is to re-compile the grid whenever the data is changed.
Here is the updated plunker. http://plnkr.co/edit/34nUGmopB8q4GWQ9uF57?p=preview
I'm working on storing the body of emails in sql server as ntext. The email body which I'm storing has hyperlinks like "view my website". I want to represent this normal text as hypelink?
Any Ideas?
You can insert the text as a normal insert. You may want to consider using something like FCKEditor to allow your users to format the email properly unless your going to be able to control how the HTML is created. You will want to make sure your columns datatype and size are appropriate.
Not knowing your table schema here is a very basic example.
Insert into Emailtable
('emailHtml', 'emailText')
Values
('<HTML><Head></Head><Body>view my website</Body></HTML>', 'Text version of the email')
If your going to have spaces and special characters in your link you could HTML encode the link so when it stores it and retrieves it you know your getting the right values.
You can store the text as formatted HTML and when you sent it with your email client (not sure how you will be sending these) set the client to send the message as HTML formatted. Then it's just a matter of adding the tags to the NText.
the sql type named text is appropriated for html content(including hyperlinks).
In your page you shoud use HtmlString class to show htm content.